Convert text to json in rust.
Please check main.rs.
```rust extern crate texttojson;
use texttojson::read;
fn main() { match read::tojson(String::from("example.txt")) { Ok(content) => println!("{:?}", content), Err() => panic!("Error"), } } ```
Please check example.txt.
// output
[Object({"title": String("hello world")}), Object({"description": String("lorem ipsume sit amet dolor")}), Obje
ct({"date": String("1211121")})]