FasterXML / jackson-core

Core part of Jackson that defines Streaming API as well as basic shared abstractions
Apache License 2.0
2.27k stars 795 forks source link

`JsonLocation` off for unrecognized tokens #1180

Open cowtowncoder opened 10 months ago

cowtowncoder commented 10 months ago

(note: follow up to remaining case from #1173)

Looks like JsonLocation reported for input like:

{"isThisValidJson": FALSE}

is off so that reported position of error is at the end of FALSE token, instead of the beginning (first character of unrecognized token).