Skip to main content

string_key

Function string_key 

Source
pub fn string_key(value: &Value, keys: &[&str]) -> Option<String>
Expand description

Recursively search a JSON value for the first matching string by candidate key names. Descends into objects and arrays depth-first.