Open Version 8 (Java)
Action group: JSON
Description
The action opens JSON and returns an object to manipulate the contents of the file
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The path to the file | Path to the file that will be opened | Robin.FilePath | Yes | |
Encoding | File encoding. | Robin.String | Yes | |
Results | ||||
Result | Object for processing content of the file | Robin.JSON |
Special conditions of use
None.
Example of use
Task
Get the number of elements in JSON file test.json:
Solution
Use the actions "Open", "Get a number of elements in a JSON".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Open" action.
- Set the parameters for the "Get a number of elements in a JSON" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The number of elements has been obtained.
Обзор
Инструменты контента