JSONItem.Load

From Xojo Documentation

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

JSONItem.Load(JSONString As String)

New in 2011r2

Supported for all project types and targets.

Loads and parses a JSON String. If any parsing errors occur, a JSONException will be thrown.

Example

This example loads a JSON string, s, into a JSONItem.

Var r As New JSONItem
r.Load(s)