ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.CIM Namespace / Serializer Class / UpgradeJSON Method

In This Topic
    UpgradeJSON Method
    In This Topic
    Upgrades input CIM JSON string from source version to the latest version. Strings serialized using Core objects should be upgraded to current version for them to be succussfully deserialized.
    Syntax
    public static string UpgradeJSON( 
       string sourceVersion,
       string inputJson
    )
    Public Shared Function UpgradeJSON( _
       ByVal sourceVersion As String, _
       ByVal inputJson As String _
    ) As String

    Parameters

    sourceVersion
    inputJson
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also