JSONtoXML
First the JSON passed as source needs always a root element (in the below example there's a 'root' property, could be with any other name):
Result
XMLtoJSON
This action converts a XML string to JSON.
SelectToken
This action returns the selected token.
SelectTokens
This action returns the selected tokens.
AddProperty
This action load a JSON, and then you can add a property, returning the new JSON with the new property included.
If IsJSONValue is true, the PropertyValueToAdd it is considered as a JSON string.
If IsJSONArray is true and IsJSONValue is false, the PropertyValueToAdd it is considered as a JSON array string.
If IsJSONValue and IsJSONArray are both false, the PropertyItemToAddToArray is considered as single string.
If the new property is a JSON array
If the new property is JSON string
If the property is a text literal
AddArrayItem
This action load a JSON, and then you can add a array item, returning the new JSON with the new array item.
If IsJSONValue is true, the PropertyItemToAddToArray is considered as a JSON string. Otherwise, it is considered as single string.
PropertyValueToUpper
Transforms a property value to upper case.
RemoveProperty
This action load a JSON, and then you can remove a property, returning the new JSON without that property.
More info about, and how to use it:
- https://www.newtonsoft.com/json/help/html/ModifyJson.htm
- https://www.newtonsoft.com/json/help/html/QueryJson.htm