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


IJSONConverterGdb Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IJ > IJSONConverterGdb Interface (ArcObjects .NET 10.6 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

Name Description
Method QueryJSONDomain Query domain info from IDomain and populate IJSONObject.
Method QueryJSONDomain2 Query domain info from IDomain and populate IJSONObject. If returnDomainNames is true, it returns only domain name.
Method QueryJSONDomain3 Query domain info from IDomain and populate IJSONObject.If fieldDomain is equal to typeDomain, it returns the domain as inherited.
Method QuerySubtype Query subtype info from subtype 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