you are viewing a single comment's thread
view the rest of the comments
[–] 62 points 7 months ago (4 children)

YAML is redeemed by one thing only:

All JSON is valid YAML.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 12 points 7 months ago (3 children)

    No way. You're telling me I can just write json instead?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 14 points 7 months ago* (2 children)

    Yup! YAML is defined as a "strict superset" of JSON (or at least, it was the last time I checked).

    It's a lot like markdown and HTML; when you want to write something deeply structured and somewhat complex you can always drop back/down to the format with explicit closing delimiters and it just works™.

  • source
  • parent
  • hideshow 2 child comments