TInclusionMode Enumeration
Specifies when a property value should be included in JSON serialization.
Remarks
Always includes the property regardless of its value.
NonDefault excludes the property when it holds its default value (for example, 0 for integers, empty string for strings, nil for objects).
Syntax
Unit: Bcl.Json.Converters
Members
| Name | Value | Description |
|---|---|---|
| Always | 0 | Always include the property in the JSON output. |
| NonDefault | 1 | Exclude the property when its value equals the type default. |