JSON Composer

Print Friendly, PDF & Email

◷ Reading Time: 3 minutes

JSON Composer allows editing and creating a JSON data inside a tree view structure of a JSON text editor. It allows building JSON data in multiple views; Graphical and Text views.

The data structure can be a template using Fact Concept or, the data elements can be added individually.

Launch

Direct

Tools -- > JSON Composer

This image has an empty alt attribute; its file name is json-composer-start.png

Data Composer

To provide data to parameters, using Data Composer allows you to build up the required JSON and provide them to logic parameters.

In the Data Composer, select From JSON Content

Views

JSON Compower provides two views:

  1. Tree View
  2. Text View

By clicking on the left bottom icon you can switch between them.

Root

In the Tree View of any JOSN structure, there will be a Root node. The Root node is the main container of the rest of the data structure.

The Root node can only have objects (Name-Value collection of the JSON body)

Adding Data

When the JSON Composer is loaded

  • On toolbar click on the add button
  • Or Right-click on the Root node

You can also click on an existing node on a tree and add a child node.

Edit

Right Click on a node and select

  • Edit Name
  • Edit Value
  • Edit Type

to edit the tree.

You can also Double Click on namevalue or Type in a selected row and start editing them.

Fact Concept

When any Fact Concepts are defined in the project, the value of an object can be set by Fact or Option:

And you can create the whole fact model with a single click:

Sample JSON file

A sample JSON input file (sample-JSON.zip) is attached at the end of the page.

Updated on June 3, 2019

Article Attachments

Was this article helpful?

Related Articles