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


IJSONConverterGdb Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IJSONConverterGdb Interface

Provides high-level deserialization methods for JSON.

Product Availability

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

Members

Description
Method QueryJSONDomain Query domain info from IDomain and populate IJSONObject.
Method ReadRecordSet Reads RecordSet object from IJSONReader.
Method ToRecordSet Reads RecordSet object from IJSONObject. pDefaultSchema is used only when input JSON has no 'fields' attribute. Pass NULL if not needed. Also, sometimes field names are corrected by the GeoDatabase, use ppOriginalToNewFieldMap to find new field names.
Method WriteRecordSet Writes RecordSet to IJSONWriter. Writes closing bracked if bWriteEndOfObj is VARIANT_TRUE. Set bWriteEndOfObj to VARIANT_FALSE if you want to append additional JSON before closing object.

CoClasses that implement IJSONConverterGdb

CoClasses and 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