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


IExternalSerializerGdb2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IExternalSerializerGdb2 Interface
ArcGIS Developer Help

IExternalSerializerGdb2 Interface

Provides high-level serialization methods for AMF and JSON formats.

Product Availability

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

Members

Name Description
Method GetErrorObject Convenience method. Creates and returns error object as byte SAFEARRAY.
Method GetQuantizationTransform Obtains the Quantization Transform JSON Ojbect setup during writer install.
Method WriteErrorObject Writes error object.
Method WriteGeometry Writes geometry object.
Method WriteRecordSet Writes feature recordset.
Method WriteRecordSetEx Writes feature recordset and returns number of records serialized.
Method WriteRecordSetEx2 Writes feature recordset for both JSON and GeoJSON format and returns number of records serialized.
Method WriteRecordSetEx3 Writes feature recordset for both JSON and GeoJSON format with quantization support and returns number of records serialized.
Method WriteRecordSetEx4 Writes feature recordset for both JSON and GeoJSON format with quantization support and returns number of records serialized, for other use cases like Map Server end, we still need to report crs even GeoJSON no longer has it.
Method WriteRow Writes feature row object
Method WriteSpatialReference Writes spatial reference object. Pass NULL as propname to write standalone JSON object.

Classes that implement IExternalSerializerGdb2

Classes Description