Skip to main content

extract_json_string

Function extract_json_string 

Source
pub fn extract_json_string(json: &str, key: &str) -> Option<String>
Expand description

Extract a quoted string value for a given key from a flat JSON object.

This is intentionally minimal and handles only the simple cases produced by this module’s own serialiser.