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

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, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also