On Tue, Jul 30, 2013 at 1:55 PM, Roy Stogner <email@example.com> wrote:
Hmmm... if the above statement implies that you don't know GetPot cando nested data, then I'd suggest you try that out first. If you do
know GetPot can do nested data but you just think the syntax is
too atrocious to use, I wouldn't object to jsoncpp in contrib.
Indeed - our GetPot input files are very nested. Stuff like this works fine:
[Section]param1 = 3
[./subsection]subparam2 = 4subparam3 = '6 7'
[./subsubsection]somesubsubparam = dog[../][../]
Personally, I think it's easier to read and write than JSON (by a human)... it basically pretty intuitive.
But - I'm not really against JSON either - just letting you know that this stuff works...