Action group: JSON
The action returns collection of all JSON keys
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
JSON | JSON for processing. Note: The action does not work with JSON arrays (start with „[„). | Robin.JSON | Yes | |
Results | ||||
Collection of all keys | A variable containing a collection of all JSON keys. | Robin.Collection |
None.
Get JSON file key collection test.json and read the first key of the collection at index 0.
{ "firstname":"Joe", "lastname": "Jackson", "gender":"male", "age": 28, "address": { "streetAddress": "101", "city": "San Diego", "state": "CA" }, "phonenumber": [ { "type": "home", "number": "9349282382"} ] } |
Use the "Open", "Get keys", "Get value by index" actions.
The program robot completed successfully. The keys collection from JSON was obtained.
The key at index 0 is obtained.