JSONItem.Constructor()

From Xojo Documentation

Revision as of 23:00, 20 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"