GeometryFromJson Method (String, SpatialReference)
public static Geometry FromJson( string json, SpatialReference spatialReference )
Public Shared Function FromJson ( json As String, spatialReference As SpatialReference ) As Geometry
Geometry can be serialized and de-serialized to and from JSON. The ArcGIS REST API documentation describes the JSON representation of geometry objects. You can use this encoding and decoding mechanism to exchange geometries with REST Web services or to store them in text files.