Get values Version 8 (Java)
Action group: JSON
Description
The action returns a collection of all JSON values.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
JSON | JSON for processing | Robin.JSON | Yes | |
Results | ||||
Collection of all values | A variable containing a collection of all JSON values. | Robin.Collection |
Special conditions of use
None.
Example of use
Task
Get values of the JSON file test.json and read at index 0 the first element of the collection.
Solution
Use the "Open", "Get values", "Get value by index" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Open" action parameters.
- Set the "Get values" action parameters.
- Set the "Get value by index" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The element collection from JSON was obtained.
An element at index 0 is obtained.
Обзор
Инструменты контента