Read JSON

Reads a json file or a string in json format into a json type variable.

*File Name The JSON file name is written.
*JSON string The string structure to be read is written.
*Result variable name A variable name that will be created is written.

Note: * Fields selected with are required, others are optional.

File Name example

You can use the File Name* *as shown in the example.

C:RobustaXml-JsonreadJsontest.json

JSON string example

You can use the JSON string as shown in the example.

[{ “id”: 1 }]

{ “id”: 1, “firstname”: “Katerina”, “job”: { “site”: “www.javacodegeeks.com”, “name”: “Java Code Geeks” } }

Result variable name example

You can use the Result variable name* *as shown in the example.

resultJson