Convert a dictionary to a JSON Version 7 (Java)
Action group: JSON
Description
The action converts a dictionary to a JSON.
Action icon
Settings of parameters
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
---|---|---|---|---|
Параметры | ||||
Словарь | Словарь для преобразования | Robin.Dictionary | Да | |
Результаты | ||||
Результат | JSON, содержащий данные из словаря. | Robin.JSON |
Special conditions of use
None.
Example of use
Task
Convert a dictionary to a JSON and save the document to workspace.
Solution
Use the "Convert a dictionary to a JSON", "Save to file" actions.
Implementation
- Assemble a robot scheme with the actions.
- Create a dictionary that contains 3 values of a "string" type and 1 value of a "dictionary" type.
- Set the "Convert a dictionary 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 dictionary is successfully converted to a JSON.
JSON is saved to the specified folder.
Обзор
Инструменты контента