Crate serde_aux [] [src]

serde-aux

A serde auxiliary library.

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 1 or 1.0 after parsing.

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.