JSON Layout
- Akash Kumar Jaiswal (Unlicensed)
- Rohan Dhanwade (Deactivated)
- Ashhad Alam
JSON (JavaScript Object Notation) is a lightweight data-interchange format. The JSON layout defines the procedure to read data from and write data to a JSON file.
Steps to create a JSON Layout
- Click Configure > LAYOUTS > JSON.
- Click CREATE JSON Layout.
- On the Create Layout screen, type the name and description of the new JSON layout in the Name and Description fields respectively.
Click Choose File of JSON File Path field to upload a sample JSON file.
- Expand Advanced Properties to view the advanced properties of JSON layout.
Define the character-set encoding for your JSON layout. The available options are UTF-8, UTF-16, UTF-32, and ISO-8859-1.
Select the Interpret and convert data types check box if you want to convert the data from one file format to another.
Select the project in the Project field.
In Array Fields, provide the field value which you want to be an individual array. Click Add Row to define multiple field values. To remove the row, enter the row position value in the
Adeptia Connect supports an array with a single JSON data. You need to follow the step 9 to define one or multiple arrays of such type.Click Save to save the JSON layout.
Retaining the special characters in a JSON Layout
You can retain the special characters, for example, \n,\r, in a JSON data file by configuring the property abpm.connect.jsonschema.retainSpecialCharacters.
To set this property, follow the steps given below:
- Go to Account > Settings.
- Expand Server Nodes Settings, and select a node.
- Click Edit and then expand the category Services > Schema Property.
- In the property, abpm.connect.jsonschema.retainSpecialCharacters, enter the special characters (comma separated) that you want to retain, for example, \n,\r.
- Click Save.