I'm building a game where all the data is stored externally in JSON. This data tends to break constantly, and when it does, It only tells me which file failed to parse, not which line the failure occurred on. Does anyone know how to get line numbers out of the JSON parser? If not, does anyone know a less fragile format for storing game data? Thanks!
↧