ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Core.CIM Namespace / JsonSerializationSettings Class / OmitDefaults Property

In This Topic
    OmitDefaults Property
    In This Topic
    Gets and sets whether to omit properties that have their default values from JSON output. Default value is true. This behavior is designed to produce smaller JSON payloads.
    Syntax
    public bool OmitDefaults {get; set;}
    Public Property OmitDefaults As Boolean
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also