Creates an empty JSON object.
This procedure creates an empty JSON object (represented as {}). This is useful as a starting point for building up a JSON structure by adding fields one at a time. The empty JSON object can then be assigned to a fact and populated with data.
This procedure has no input concepts.
This example creates an empty JSON object {}.
This example creates an empty JSON object and assigns it to a fact called "request".
This example creates an empty JSON and then populates it with three fields: name, age, and company.
This example creates another empty JSON object with a different fact name and populates it with company and address fields.
This example creates multiple JSON objects and nests one within another. The result would be: {"data": {"age": "23"}}
This example creates an empty JSON object that will be used to merge or combine data from other sources.
json
An empty JSON object {}
create a jsoncreate a json
use the above as the request
the requestcreate a empty json
use the above as json1
set the json1's name to "kalpesh"
set the json1's age to 28
set the json1's company to "Kognitos"create an empty json
use the above as json2
set the json2's company to "XYZ"
set the json2's address to "Bangalore"the internaljson is "{}"
the internaljson is a json
set the internaljson's age to "23"
the finaljson is "{}"
get the finaljson as a json
the finaljson is a json
set the finaljson's data to the internaljsoncreate an empty json
use the above as the main json
set the main json's "attachment" to the attachment json