default

    Follow Encodable’s default behavior:

    NilValueCodingStrategy.swift:10
    case `default`
    • encodeIfPresent(): Skip encoding for nil inputs.

    • encodeNil(): Output an explicitly nil value.

    Other cases

    • case neverEncodeNil

      Never emit nil encoded values into the output, even if encodeNil() 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 if encodeIfPresent() is used.