Convert a string to a JSON Version 7 (Java)
Action group: JSON
Description
The action converts a string to a JSON
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
String | String for converting. | Robin.String | Yes | |
Encoding | String content encoding | Robin.String | No | |
Results | ||||
Result | The JSON containing data from this string. | Robin.JSON |
Special conditions of use
None.
Example of use
Task
Convert a string to a JSON and save the document to workspace.
Solution
Use the "Convert a string to a JSON", "Save to file" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Convert a string to a JSON" action parameters.
- Set the "Save to file" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The JSON document is saved to the specified path.
Обзор
Инструменты контента