[petsc-dev] JSON library

Barry Smith bsmith at mcs.anl.gov
Mon Mar 14 16:08:57 CDT 2011


  yaml forbids tabs, that alone is a good enough reason to love it :-)

   Barry

On Mar 14, 2011, at 4:04 PM, Jed Brown wrote:

> I want to reiterate a statement I made a while back that any alternative input format really needs to support references. This is a good reason to prefer Yaml over JSON. Yaml is a superset of JSON, but offers a more readily human-readable layout, example: http://www.yaml.org/start.html
> 
> The important feature here is that references can be reused so it becomes possible to define multiple solver configurations, then use each one (perhaps with local modifications) in multiple places or not at all. If you just do plain JSON, it's essentially the same expressiveness as current options files, albeit easier to manipulate from other languages.




More information about the petsc-dev mailing list