I’m searching for a way to write complex data configurations for my application.
I don’t really like xml or json for that job for different reasons.
But I found a format that is kind of perfect for the job, it’s implemented in boost property tree library and is referenced as “INFO” format(
http://www.boost.org/doc/libs/1_46_1/doc/html/boost_propertytree/parsers.html#boost_propertytree.parsers.info_parser
).
The problem is I can’t find a proper format description/reference because of the same named “info” file format for text info.
Can some one share a link to a proper documentation or at least more exaples?
Did you look at the Boost docs on this? I doubt there’s a better reference. As noted in the doc:
Generally I bemoan the overuse of XML but in this case, going that route (XML) is just as functional and a lot less controversial. You get third-party parsing, transform (XSLT) and editing tools that you won’t have with INFO.