Provides high-level serialization methods for AMF and JSON formats.
Members
Name | Description | |
---|---|---|
GetErrorObject | Convenience method. Creates and returns error object as byte SAFEARRAY. | |
WriteErrorObject | Writes error object. | |
WriteGeometry | Writes geometry object. | |
WriteRecordSet | Writes feature recordset. | |
WriteRow | Writes feature row object | |
WriteSpatialReference | Writes spatial reference object. Pass NULL as propname to write standalone JSON object. |
IExternalSerializerGdb.GetErrorObject Method
Convenience method. Creates and returns error object as byte SAFEARRAY.
Public Function GetErrorObject ( _
ByVal propname As String, _
ByVal Code As Integer, _
ByVal Message As String, _
ByVal details As IStringArray _
) As Byte[]
public Byte[] GetErrorObject (
string propname,
int Code,
string Message,
IStringArray details
);
IExternalSerializerGdb.WriteErrorObject Method
Writes error object.
Public Sub WriteErrorObject ( _
ByVal propname As String, _
ByVal Code As Integer, _
ByVal Message As String, _
ByVal details As IStringArray _
)
public void WriteErrorObject (
string propname,
int Code,
string Message,
IStringArray details
);
IExternalSerializerGdb.WriteGeometry Method
Writes geometry object.
Public Sub WriteGeometry ( _
ByVal propname As String, _
ByVal pGeom As IGeometry _
)
public void WriteGeometry (
string propname,
IGeometry pGeom
);
IExternalSerializerGdb.WriteRecordSet Method
Writes feature recordset.
Public Sub WriteRecordSet ( _
ByVal propname As String, _
ByVal pRecordset As IRecordSet, _
ByVal pGeomOpt As IGeometryResultOptions _
)
public void WriteRecordSet (
string propname,
IRecordSet pRecordset,
IGeometryResultOptions pGeomOpt
);
IExternalSerializerGdb.WriteRow Method
Writes feature row object
Public Sub WriteRow ( _
ByVal propname As String, _
ByVal pRow As IRow, _
ByVal pFields As IFields, _
ByVal rowFieldIndexes As Int32[], _
ByVal pGeomOpt As IGeometryResultOptions _
)
public void WriteRow (
string propname,
IRow pRow,
IFields pFields,
Int32[] rowFieldIndexes,
IGeometryResultOptions pGeomOpt
);
IExternalSerializerGdb.WriteSpatialReference Method
Writes spatial reference object. Pass NULL as propname to write standalone JSON object.
Public Sub WriteSpatialReference ( _
ByVal propname As String, _
ByVal pSR As ISpatialReference _
)
public void WriteSpatialReference (
string propname,
ISpatialReference pSR
);
Classes that implement IExternalSerializerGdb
Classes | Description |
---|---|
JSONConverterGdb | All-in-one JSON conversion for the GeoDatabase library. Supports all previous JSON interfaces in the GeoDatabase, namely IJSONSerializer, IJSONDeserializer, IExternalSerializerGdb, IExternalDeserializerGdb |
JSONSerializerGdb | High-level object serializer into JSON coclass. |