On Tue, Jul 30, 2013 at 1:55 PM, Roy Stogner <royst...@ices.utexas.edu>wrote:

> Hmmm... if the above statement implies that you don't know GetPot can
> do 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 = 4
    subparam3 = '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...

Derek
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to