Skip to main content

extract_json_fields

Function extract_json_fields 

Source
pub fn extract_json_fields(s: &str) -> Value
Expand description

Last-resort: extract ALL key-value pairs from malformed JSON by string matching. Tool-agnostic — no hardcoded field lists. Finds any "key": "value" or key: value pattern.