parser

Function parser 

Source
pub fn parser<'a>() -> impl Parser<'a, &'a str, Value, Err<Rich<'a, char>>>
Available on crate feature bmson only.
Expand description

This is a parser for JSON.

Parsing from str, returning Value. Chumsky emits Rich<char> internally, which we later classify into Warning (custom diagnostics) and Recovered (grammar errors recovered by the parser).