JSON Editor

This editor is designed for experienced users familiar with the structure of JSON objects.

Working with the JSON Editor

JSON Editor

There are no limitations when creating input/output models. A model can have an unlimited number of root objects and child objects.

Creating a Model

The model follows a tree structure written in JSON format. Root objects can contain children, but only leaf objects (objects without children) can be selected as variables.

To create a leaf object, use the following format:

Object with empty {}:

"objectName": {}

Example of a Simple Model with Leaves Only:

{
    "distance": {},
    "tariff": {},
    "weight": {},
    "longestSide": {}
}

Example of a Complex Model:

{
  "delivery": {
    "distance": {
      "car": {},
      "ship": {},
      "plane": {}
    },
    "tariff": {}
  },
  "package": {
    "weight": {},
    "longestSide": {}
  }
}

Beautify Code

To beautify the code for better readability, right-click the JSON model and choose the Format Document option.

Beautify code

This functionality is particularly useful when copying and pasting JSON from other sources or windows on your device.