activities
latest
false
- Überblick
- Kryptografie
- Datenbank
- Java
- Python
- WebAPI
- Versionshinweise
- Über das WebAPI-Aktivitätspaket
- Projektkompatibilität
- XML deserialisieren (Deserialize XML)
- XPath ausführen (Execute XPath)
- XML-Knotenattribute erhalten (Get XML Node Attributes)
- XML-Knoten erhalten (Get XML Nodes)
- Serialize JSON
- Deserialize JSON
- JSON-Zusammenstellung deserialisieren (Deserialize Json Array)
- HTTP Request (legacy)
- HTTP-Anfrage (HTTP Request)
- SOAP-Anfrage (SOAP Request)
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde.
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Entwickleraktivitäten
Letzte Aktualisierung 29. Sep. 2025
UiPath.WebAPI.Activities.JSON.SerializeJson
Serializes the given Object to a JSON string, optionally based on the customer serializer settings.
- Input object - The object to be serialized to a JSON string.
Erweiterte Optionen
Eingabe
- Serializer settings - Customer serializer settings to be used when serializing the object. Use this property when you want to fully control how the provided object gets serialized.
Wichtig:
Ausgabe- Make sure you are using the latest Studio version (2025.0.161 or higher). Studio versions previous to 2025.0.161 use the Expression Editor window instead of the data mapping functionality.
-
When no data mapping is available for the Serialized settings property, you can use use the following code snippets. For more information, see Newtonsoft documentation.
Vb.net:
C#:New JsonSerializationSettings With { .Formatting = JsonFormatting.Indented, .NullValueHandling = JsonNullValueHandling.Ignore, .DefaultValueHandling = JsonDefaultValueHandling.Ignore, .DateFormatHandling = JsonDateFormatHandling.IsoDateFormat, .DateFormatString = "yyyy-MM-dd HH" }
New JsonSerializationSettings With { .Formatting = JsonFormatting.Indented, .NullValueHandling = JsonNullValueHandling.Ignore, .DefaultValueHandling = JsonDefaultValueHandling.Ignore, .DateFormatHandling = JsonDateFormatHandling.IsoDateFormat, .DateFormatString = "yyyy-MM-dd HH" }new JsonSerializationSettings { Formatting = JsonFormatting.Indented, NullValueHandling = JsonNullValueHandling.Ignore, DefaultValueHandling = JsonDefaultValueHandling.Ignore, DateFormatHandling = JsonDateFormatHandling.IsoDateFormat, DateFormatString = "yyyy-MM-dd HH" }
new JsonSerializationSettings { Formatting = JsonFormatting.Indented, NullValueHandling = JsonNullValueHandling.Ignore, DefaultValueHandling = JsonDefaultValueHandling.Ignore, DateFormatHandling = JsonDateFormatHandling.IsoDateFormat, DateFormatString = "yyyy-MM-dd HH" }
- JSON object - The serialized JSON string.