JSONItem.Constructor(JSONString as String)

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

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)