Action group: JSON
The action returns the number of elements in a JSON.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
JSON | JSON for processing | Robin.JSON | Yes | |
Results | ||||
The number of elements | The number of elements in the JSON. | Robin.Numeric |
None.
Get a number of elements in a JSON file test.json.
{ "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 a number of elements in a JSON" actions.
The program robot completed successfully. The number of elements was obtained.