extract_jsons_from_string 0.1.3

A library to extract valid JSONs from a string to a vector
Documentation
use extract_jsons_from_string::extract;

fn main() { 

   let data = r#"sample text before json {
     "name": "Abigail",
     "age": 34,
     "isMarried": true,
     "hobbies": ["reading", "gardening"]
    } sample text after json
    {
     "name": "Morris",
     "age": 45,
     "isMarried": false,
     "hobbies": ["cycling", "swimming"]
    } sample text after json
    "#;

    let v: Vec<String> = extract(data);

    for s in &v {
        println!("{}", s);
    }
    
}