Function get_as_json_string_from_json_string

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

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