[−][src]Function json_position_parser::parse_json
pub fn parse_json(text: &str) -> ParseResult<Tree>
Parse a json text:
Example
let text = "{ \"foo\": \"bar\" }"; match parse_json(&text) { Ok(tree) => println!("{:?}", tree), Err(e) => println!("{:?}", e), };