iilab / contentascode

Content as Code
http://iilab.github.io/contentascode
GNU General Public License v3.0
34 stars 7 forks source link

Metadata formats #29

Open jmatsushita opened 8 years ago

jmatsushita commented 8 years ago

This was brought up in https://github.com/iilab/contentascode/issues/25#issuecomment-194020581

YAML is the default legacy choice because of Jekyll and its Ruby heritage. It makes sense to start with it to have more compatibility out of the gate but there are a lot of interesting and maybe better (to at least some people) formats out there that could be used as well as they are terse, human readable (so thanks no XML), have a resilient syntax (which makes JSON too easy to break)

Format Link Readability Resilience Adoption Other
YAML ++ - +++
ArchieML archieml.org = ++ +
TOML https://github.com/toml-lang/toml + - Unstable
CSON https://github.com/bevry/cson + - -
MSON https://github.com/apiaryio/mson ++ ? ?
jmatsushita commented 8 years ago

Added MSON.