firefox-bookmarks/examples/read_file.rs

7 lines
179 B
Rust
Raw Normal View History

2018-10-18 18:24:18 +00:00
extern crate firefox_bookmarks;
use firefox_bookmarks::parse_json;
fn main() {
let data = parse_json(include_str!("bookmarks-sample.json")).unwrap();
println!("{:#?}", data);
}