pub fn json_get_int(json: &str, field: &str) -> Option<i64>
Get a field from a JSON object as an integer. Returns None if the field doesn’t exist or isn’t a number.