Skip to main content

json_objects

Function json_objects 

Source
fn json_objects(text: &str) -> Vec<Map<String, Value>>
Expand description

Every JSON object in the end of the text, in order: each of the last MAX_TRIES { that starts one that parses (the text after it is ignored), skipping the ones inside an object already found. A stray { in prose costs one try.