encode_value


Description:

public abstract void encode_value (NullableValue value, ValueWriter writer, EncodeContext context) throws Error

Encode a boxed NullableValue through the selected format's writer.

The object mapper calls this for properties. In Codec, the base implementation calls Codec.unpack and then typed Codec.encode for non-null values.