Appearance
JsonNullHandling Enum
Defines how JSON null tokens are applied when populating an existing object.
Namespace: JASE
Assembly: JASE.Serializers.dll
Underlying Type int
Fields
| Name | Value | Description |
|---|---|---|
Ignore | 0 | Ignores JSON null tokens. The corresponding target property is left unchanged. |
SetIfNullable | 1 | Applies null only when the target property can accept it (reference types or Nullable1` value types). If the property is non-nullable, the value is left unchanged. |
Throw | 2 | Throws an exception if the JSON contains null for a property whose target type does not allow null. |