Crate serde_aux [−] [src]
serde-aux
A serde auxiliary library.
Macros
serde_aux_enum_number_declare |
This contains both serialization and deserialization a enum into/from numbers.
The [reference implementation] does not work if your enum has negative values.
This |
Functions
deserialize_bool_from_anything |
Deserializes boolean from a anything (string, number, boolean). If input is a string,
it is expected, that it is possible to convert it to a number. The return boolean is
true if the number was |
deserialize_number_from_string |
Deserializes a number from string or a number. |
deserialize_string_from_number |
Deserializes string from a number. If the original value is a number value, it will be converted to a string. |