This document is archived and information here might be outdated.  Recommended version.


IJSONReader2.ParseJSONString Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IJSONReader2.ParseJSONString Method

Parses JSON string into memory. Returns either IJSONObject or IJSONArray in a 'root' parameter. Doesn't change state of existing IJSONReader2 instance.

[Visual Basic .NET]
Public Function ParseJSONString ( _
    ByVal json As String _
) As Object
[C#]
public object ParseJSONString (
    string json
);
[C++]
HRESULT ParseJSONString(
  BSTR json,
  LPUNKNOWN* root
);
[C++]

Parameters json [in] json is a parameter of type BSTR root [out, retval] root is a parameter of type LPUNKNOWN

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IJSONReader2 Interface