pub fn parse_json_file(file_path: &str) -> ParseResult<Tree>
Expand description
Parse a json file:
Example
let file_name = "foo.json";
match parse_json_file(&file_name) {
Ok(tree) => println!("{:?}", tree),
Err(e) => println!("{:?}", e),
};