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 > IJSONArray Interface > IJSONArray.ToJSON Method (ArcObjects .NET 10.5 SDK) |
Converts IJSONArray to JSON representation using provided IJSONWriter. Useful when you have complex JSON response you want to combine from the output of several methods.
[Visual Basic .NET] Public Sub ToJSON ( _ ByVal objectName As String, _ ByVal pWriter As IJSONWriter _ )
[C#] public void ToJSON ( string objectName, IJSONWriter pWriter );
[C++]
HRESULT ToJSON(
BSTR objectName,
IJSONWriter* pWriter
);
[C++]
Parameters objectName [in] objectName is a parameter of type BSTR pWriter [in]
pWriter is a parameter of type IJSONWriter