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


IJSONConverterGeometry Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IJSONConverterGeometry Interface

Provides direct access to the geometry serialization for AMF and JSON formats.

Product Availability

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

Members

Description
Method QueryJSONEnvelope Queries spatial reference and populates existing IJSONObject
Method QueryJSONGeometry Queries geometry and populates existing IJSONObject
Method QueryJSONGeoTransformation Queries a geographic (datum) transformation object and populates existing IJSONObject
Method QueryJSONSpatialReference Queries spatial reference and populates existing IJSONObject
Method ReadEnvelope Reads point object.
Method ReadGeometry Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure.
Method ReadGeoTransformation Reads a geographic (datum) transformation object.
Method ReadMultipoint Reads point object.
Method ReadPoint Reads point object.
Method ReadPolygon Reads point object.
Method ReadPolyline Reads point object.
Method ReadSpatialReference Reads spatial reference object.
Method ToEnvelope Reads envelope from a JSON object.
Method ToGeometry Reads geometry object from JSON object.
Method ToGeoTransformation Reads a geographic (datum) transformation object from a JSON object.
Method ToMultipoint Reads multipoint from a JSON object.
Method ToPoint Reads IPoint from a JSON object.
Method ToPolygon Reads polygon from a JSON object.
Method ToPolyline Reads polyline from a JSON object.
Method ToSpatialReference Reads spatial reference from a JSON object.
Method WriteGeometry Writes geometry object.
Method WriteGeoTransformation Writes a geographic (datum) transformation object. Pass NULL as propname to write a standalone JSON object.
Method WriteSpatialReference Writes spatial reference object. Pass NULL as propname to write a standalone JSON object.

CoClasses that implement IJSONConverterGeometry

CoClasses and Classes Description
JSONConverterGeometry