Skip to main content

json_get_int

Function json_get_int 

Source
pub fn json_get_int(json: &str, field: &str) -> Option<i64>
Expand description

Get a field from a JSON object as an integer. Returns None if the field doesn’t exist or isn’t a number.