Module optional
Expand description
Serialize/deserialize Option<T>
type where T
has a serializer/deserializer.
Deserialize to None
if the received value equals the Default
value.
Serialize None
as Some
with the Default
value for T
.
Functionsยง
- Deserialize
Option<T>
- Serialize
Option<T>