Enumeration Caseorlandos-nl.ikigajson 2.2.3IkigaJSON
default
Follow Encodable
’s default behavior:
case `default`
encodeIfPresent()
: Skip encoding fornil
inputs.encodeNil()
: Output an explicitlynil
value.
Other cases
case neverEncodeNil
Never emit
nil
encoded values into the output, even ifencodeNil()
is explicitly called. For keyed encoding containers, the value’s key will also be ommitted.case alwaysEncodeNil
Always emit
nil
encoded values into the output, even ifencodeIfPresent()
is used.