ArcGIS Pro 2.7 API Reference Guide
FromJson Method (EnvelopeBuilder)
Example 

ArcGIS.Core.Geometry Namespace > EnvelopeBuilder Class : FromJson Method
JSON representation of an envelope.
Creates a new instance of the Envelope class from an ArcGIS JSON geometry representation.
Syntax
public static Envelope FromJson( 
   string JSONString
)
Public Shared Function FromJson( _
   ByVal JSONString As String _
) As Envelope

Parameters

JSONString
JSON representation of an envelope.

Return Value

Exceptions
ExceptionDescription
The JSONString is empty or null.
JSON string is invalid or does not represent an Envelope string.
Example
string jsonString = "{ \"xmin\" : 1, \"ymin\" : 2,\"xmax\":3,\"ymax\":4,\"spatialReference\":{\"wkid\":4326}}";
Envelope envFromJson = EnvelopeBuilder.FromJson(jsonString);
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EnvelopeBuilder Class
EnvelopeBuilder Members