ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / Unit Class / CreateFromJson Method
The JSON string.

CreateFromJson Method (Unit)
Creates a unit from a JSON string.
Syntax
public static Unit CreateFromJson( 
   string jsonString
)

Parameters

jsonString
The JSON string.

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also