snowcone-ltd / libmatoya

Cross-platform application development.
MIT License
592 stars 52 forks source link

much more informative JSON parse error message #114

Closed bmcnett closed 1 year ago

bmcnett commented 1 year ago

it's typical in a JSON parser to report the line number and column of the error, rather than the byte offset from the beginning of the file.

chrisd1100 commented 1 year ago

I don't get subtracting / adding the position every iteration through the loop.