ArcGIS Pro 2.8 API Reference Guide
FromJson Method (GeometryBuilder<T>)

ArcGIS.Core.Geometry Namespace > GeometryBuilder<T> Class : FromJson Method
JSON string representation of the geometry.
Creates a geometry from an ArcGIS JSON geometry representation.
Syntax
protected static Geometry FromJson( 
   string JSONString
)
Protected Shared Function FromJson( _
   ByVal JSONString As String _
) As Geometry

Parameters

JSONString
JSON string representation of the geometry.

Return Value

A Geometry. The GeometryType is based on the JSON string.
Exceptions
ExceptionDescription
The JSONString is empty or null.
The JSONString is invalid JSON or the wrong type for the geometry builder.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeometryBuilder<T> Class
GeometryBuilder<T> Members