Convert to dictionary Version 7 (Java)
Action group: JSON
Description
The action converts JSON to a dictionary
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
JSON | JSON for converting. Note: The action does not work with JSON arrays (start with „[„). | Robin.JSON | Yes | |
Results | ||||
Result | The dictionary, which contains the data from the JSON. Note: because a map is an unordered data structure, the order of the JSON elements is not preserved during conversion. | Robin.Dictionary |
Special conditions of use
None.
Example of use
Task
Convert the JSON test.json contents to a dictionary.
Solution
Use the "Open, "Convert to dictionary" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Open" action parameters.
- Set the "Convert to dictionary" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. JSON was successfully converted to a dictionary.
Обзор
Инструменты контента