Posted 18 June 2012 - 03:17 PM
So, any suggestions on an alternative? Thank you.
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.