Function jsonutils::json::get_length

source ยท
pub fn get_length(value: &Value) -> Result<usize>
Expand description

Get the length of a JSON array. Returns an anyhow::Error if the value is not an array.