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


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

IJSONObject.ToJSONString Method

Converts IJSONObject to JSON representation using IJSONWriter internally. 'props' parameter is to control IJSONWriter properties. It's safe to set it to NULL.

[Visual Basic .NET]
Public Function ToJSONString ( _
    ByVal props As IPropertySet _
) As String
[C#]
public string ToJSONString (
    IPropertySet props
);
[C++]
HRESULT ToJSONString(
  IPropertySet* props
);
[C++]
Parameters
props [in]

props is a parameter of type IPropertySet*

Product Availability

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

See Also

IJSONObject Interface