JSONItem.Constructor()

From Xojo Documentation

Constructor
JSONItem.Constructor()

New in 2011r2

Creates an empty JSON object.

Example

This example creates a new JSONItem and then populates it.

Var person As New JSONItem
// This object is manipulated like a dictionary
person.Value("Name") = "John Doe"
person.Value("Age") = 32
person.Value("Married") = True
person.Value("Spouse") = "Jane Doe"