ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMProjectItem Class / ToJson Method
The JSON serialization settings.

    ToJson Method (CIMProjectItem)
    Creates a JSON encoding of the CIMProjectItem and its current state.
    Syntax
    public override string ToJson( 
       JsonSerializationSettings settings
    )

    Parameters

    settings
    The JSON serialization settings.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    ArcGIS Pro version: 2.4 or higher.
    See Also