pub fn parse_with_exit_signal<'a>(
on: &'a str,
cb: impl for<'b> FnMut(&'b [JSONKey<'a>], RootJSONValue<'a>) -> bool,
) -> Result<(), JSONParseError>Expand description
ยงErrors
Returns an error if it tries to parse invalid JSON input
pub fn parse_with_exit_signal<'a>(
on: &'a str,
cb: impl for<'b> FnMut(&'b [JSONKey<'a>], RootJSONValue<'a>) -> bool,
) -> Result<(), JSONParseError>Returns an error if it tries to parse invalid JSON input