ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / DatumTransformation Class / ToJson Method
Version

ToJson Method (DatumTransformation)
Returns the JSON representation of this transformation;
Syntax
public virtual string ToJson()

Return Value

JSON string
Exceptions
ExceptionDescription
This method is not implemented for GeographicTransformation or HVDatumTransformation. To get a JSON representation of these types of transformations construct a CompositeGeographicTransformation or a CompositeHVDatumTransformation containing this transformation and call ToJson on that object.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also