pub trait JsonToNum<T> {
    fn json_to_number(map: &Map<String, Value>, field: &str, default: T) -> T;
}
Expand description

Trait to convert a JSON structure to a number

Required methods

Converts the JSON field in the map to a Number

Implementations on Foreign Types

Implementors