JSONItem.Constructor(JSONString as String)

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

Parses the passed JSON string into the document. If any parsing errors occur, a JSONException will be thrown.

Example

Var js As String = "{""Name"":""John Doe"",""Age"":32,""Kids"":[""Jonah"",""John Jr""],""Married"":true,""Spouse"":""Jane Doe""}"
Var j As New JSONItem(js)