Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

JSON paresr

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 PAndersson   Members   

394
Like
0Likes
Like

Posted 18 June 2012 - 03:17 PM

Hi, I'm wokring on a project with a lot of data that would best be defined in plain text. I have previously used XML for this, though I found the format a bit to verbose and would like to move on to JSON instead. I'd prefer to not write my own parser and have been looking at jsoncpp, it seems decent enough but has the major issue that it does not seem possible to obtain the line number of a given node which is an absolute must so that I can do runtime validation on data and provide information about missing nodes should the data fail validation.

So, any suggestions on an alternative? Thank you.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.