JSONItem.Constructor()

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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"