Enum NullHandling
Specifies how null values for reference-type fields and properties are
treated when an object is serialized.
Namespace: Scylla.Core.Util.Serialization
Assembly: ScyllaCore.dll
Syntax
public enum NullHandling
Remarks
Configured via WithNullHandling(NullHandling).
The chosen mode affects output size and round-trip fidelity: omitting null values
reduces payload size but means the absent field will be deserialized as whatever
default value the type uses rather than an explicit null.
Fields
| Name | Description |
|---|---|
| Ignore | Null field and property values are omitted from the serialized output entirely.
This reduces payload size but means that upon deserialization any omitted field
will receive the type's default value (usually |
| Include | Null field and property values are written to the serialized output as explicit
null tokens (e.g., |