pub fn decode_nullable<'buffer, B: NullableBuilder<'buffer> + Default, Context>(
d: &mut Decoder<'buffer>,
context: &mut Context,
) -> Result<B::Output, Error>
Expand description
Decodes a type from a map or null using a builder.
Extra keys that the builder does not consume are ignored.
ยงErrors
This fails if the underlying builder fails while processing map entries, or if the data item is neither a definite-length map, null, nor undefined.