Module serde_with::formats
source · Expand description
Specify the format and how lenient the deserialization is
Structs
- Use a flexible deserialization behavior, see
Strictness
. - Use lowercase characters
- Emit padding during serialization.
- Use in combination with
OneOrMany
. Always emit the list form. - Use in combination with
OneOrMany
. Emit single element for lists of size 1. - Use strict deserialization behavior, see
Strictness
. - Do not emit padding during serialization.
- Use uppercase characters
Traits
- Specify how to serialize/deserialize a type
- Specify how lenient the deserialization process should be