Action group: JSON
The action converts JSON to a dictionary
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
JSON | JSON for converting. Note: The action does not work with JSON arrays (start with „[„). | Robin.JSON | Yes | |
Results | ||||
Result | The dictionary, which contains the data from the JSON. Note: because a map is an unordered data structure, the order of the JSON elements is not preserved during conversion. | Robin.Dictionary |
None.
Convert the JSON test.json contents to a dictionary.
{ "firstname":"Joe", "lastname": "Jackson", "gender":"male", "age": 28, "address": { "streetAddress": "101", "city": "San Diego", "state": "CA" }, "phonenumber": [ { "type": "home", "number": "9349282382"} ] } |
Use the "Open, "Convert to dictionary" actions.
The program robot completed successfully. JSON was successfully converted to a dictionary.