JSON Parser Xojo and Real Studio plugin

JSONNode.Constructor Constructor (console safe)

Constructor that constructs a empty root node.

Constructor()

Parameters

Remarks

Dim n as JSONNode
Dim c as JSONNode

n = new JSONNode()
n.AppendNode(new JSONNode("RootA","Hello World"))

c = JSONNode.NewArrayNode("ArrayOfNumbers")

c.AppendValue(16)
c.AppendValue(42)
c.AppendValue(128)

n.AppendNode(c)

// Put the raw source to the edit field
TextArea1.Text = n.GetSourceRaw()

See Also

JSONNode Class