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

In This Topic
    ToJson Method (DatumTransformation)
    In This Topic
    Returns 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 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