Add optional field codec, which allows making other fields optional
New features
- Add
OptionalFieldCodec
(optional
), which can be used to make a target field optional. If theoptional
field is false, the target field won't be included in the encoded stream.
Edited by Eric Gallimore