ArcGIS Pro 2.8 API Reference Guide
ToJson Method (DatumTransformation)

ArcGIS.Core.Geometry Namespace > DatumTransformation Class : ToJson Method
Gets the JSON representation of this transformation;
Syntax
public virtual string ToJson()
Public Overridable Function ToJson() As String

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DatumTransformation Class
DatumTransformation Members