Function jsonutils::json::get_keys

source ยท
pub fn get_keys(value: &Value) -> Result<Vec<String>>
Expand description

Get the keys of a JSON object. Returns an anyhow::Error if the value is not an object.