Function get_key_from_json_string

Source
pub fn get_key_from_json_string(s: &str, key: &str) -> Result<Option<Value>>
Expand description

Retrieves the value associated with a key from a JSON string representing an object. Combines from_json_string and get_key to parse and extract the value. Returns an error if parsing fails.