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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
StringString for converting.Robin.String
Yes
EncodingString content encodingRobin.String
No
Results
ResultThe 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

  1. Assemble a robot scheme with the actions.
  2. Set the "Convert a string to a JSON" action parameters.
  3. Set the "Save to file" action parameters.
  4. Click "Start" in the top panel.

Result

The program robot completed successfully.

The JSON document is saved to the specified path.

  • Нет меток