JSONC to AST parser implemented in Rust.
To a simple JsonValue
:
```rust use jsoncparser::parseto_value;
let jsonvalue = parsetovalue(r#"{ "test": 5 } // test"#)?; // check the jsonvalue here ```
Or an AST:
```rust use jsoncparser::parseto_ast;
let parseresult = parsetoast(r#"{ "test": 5 } // test"#)?; // ...inspect parseresult for value, tokens, and comments here... ```