Function get_as_u64

Source
pub fn get_as_u64(val: &Value, key: &str) -> Option<u64>
Expand description

Retrieves the u64 value associated with a key from a JSON object. Returns None if the Value is not an object, the key doesn’t exist, or the value is not a u64.