ArcGIS Pro 3.7 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 Property OmitDefaults As Boolean
    public bool OmitDefaults {get; set;}
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also