JSONItem.Remove

From Xojo Documentation

Method

JSONItem.Remove(Name As String)

New in 2011r2

Supported for all project types and targets.

Removes the child with the passed Name.

Examples

This example removes a value using its name:

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"
person.Remove("Age")