Quantcast
Channel: Questions in topic: "parser"
Viewing all articles
Browse latest Browse all 108

JSON Parse Errors: Get Line Numbers

$
0
0
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!

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>