This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONReader2 Interface > IJSONReader2.ParseJSONString Method (ArcObjects .NET 10.5 SDK) |
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