bevry / cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.
Other
1.34k stars 56 forks source link

How does it differs to YAML? #83

Closed stevefan1999-personal closed 7 years ago

stevefan1999-personal commented 7 years ago

CSON and YAML are, curiously, functionally-equivalent...

stevefan1999-personal commented 7 years ago

Besides the ugly '-' pads of YAML I cannot find any differences between the two...

balupton commented 7 years ago

The way they handle strings are quite different > and | mean different things in YAML. There are also indentation differences.

You won't be able to parse complete CSON with YAML, and complete YAML with CSON.