asdf-standard icon indicating copy to clipboard operation
asdf-standard copied to clipboard

Using JSON instead of YAML

Open certik opened this issue 9 years ago • 2 comments

http://yaml.org/ lists only 3 libraries in C/C++/Fortran that can read it, one of the link (Syck) doesn't work, so there are only 2 libraries.

http://www.json.org/ lists 16 libraries in C, 19 in C++ and even 2 in Fortran, total of 37.

One thing that I don't like about HDF5 is that there is only one library that can read it, and it's pretty big. It would be nice if the ASDF format had many libraries that could read/write it. So JSON seems like a much better choice from this perspective.

Also JSON I think is simpler than YAML, so it's easier to write a parser.

certik avatar Jun 24 '16 16:06 certik

Thanks for the info and thoughts, let's expand on this discussion when the venue discussed #123 is up!

justincely avatar Jun 29 '16 14:06 justincely

@justincely definitely. Then we can just post a conclusion in this issue. Please ping me once the venue is setup.

certik avatar Jun 29 '16 17:06 certik