com.esri.arcgis.system
Interface IJSONSerializer

All Superinterfaces:
IExternalSerializer, Serializable
All Known Implementing Classes:
JSONConverterGdb, JSONConverterGeometry, JSONSerializerGdb

public interface IJSONSerializer
extends IExternalSerializer, Serializable

Provides access to high-level JSON serialization methods.

Product Availability

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


Method Summary
 IJSONWriter getWriter()
          Obtains JSON Writer.
 void initSerializer(IJSONWriter pWriter, IPropertySet pProps)
          Writes serialization options.
 
Methods inherited from interface com.esri.arcgis.system.IExternalSerializer
writeObject
 

Method Detail

getWriter

IJSONWriter getWriter()
                      throws IOException,
                             AutomationException
Obtains JSON Writer.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IJSONWriter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initSerializer

void initSerializer(IJSONWriter pWriter,
                    IPropertySet pProps)
                    throws IOException,
                           AutomationException
Writes serialization options.

Product Availability

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

Parameters:
pWriter - A reference to a com.esri.arcgis.system.IJSONWriter (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.