Clear Version 6 (Java)
Action group: JSON
Description
The action removes all elements from the JSON object
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
JSON | JSON for processing | Robin.JSON | Yes | |
Results | ||||
JSON | Empty JSON or empty JSON array | Robin.JSON |
Special conditions of use
None.
Example of use
Task
Remove all items from JSON file test.json.
Solution
Use the actions "Open", "Clear", "Save to file".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Open" action.
- Set the parameters for the "Clear" action.
- Set the parameters for the "Save to file" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
All elements have been removed from the JSON file.
Обзор
Инструменты контента