JSONItem.Constructor()

From Xojo Documentation

Constructor
JSONItem.Constructor()

Creates an empty JSON object.

Example

This example creates a new JSONItem and then populates it.

Dim 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"