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


IJSONReader2.ParseJSONString Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONReader2 Interface > IJSONReader2.ParseJSONString Method
ArcGIS Developer Help

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
);
[C++]
Parameters
json [in]

json is a parameter of type BSTR

Product Availability

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

See Also

IJSONReader2 Interface