I wonder if this library can do detailed error reporting on invalid JSON inputs. Right now it does not indicate the offending location in the potentially large JSON input strings nor it reports that grammatical symbols the parser was expecting that that offending location.
:+1: to reporting the position. Reporting the grammatical symbols that the parser expects tends to produce rather confusing results if done in a generic way, so I tend to favor manually inserted guard clauses.
I wonder if this library can do detailed error reporting on invalid JSON inputs. Right now it does not indicate the offending location in the potentially large JSON input strings nor it reports that grammatical symbols the parser was expecting that that offending location.