4 ms·
It's really sad CSON didn't catch on. We have a JSON swagger spec at work and balacing braces,etc is just painful. So for a new project I tried writing a spec
by whizzter 6y ago
It's really sad CSON didn't catch on. We have a JSON swagger spec at work and balacing braces,etc is just painful.
So for a new project I tried writing a spec in YAML instead and the indentation rules felt quite shaky for me as a beginner (ie i wasn't entirely sure where things ended up with all the modes) so it was a lot of trial-and-error for someone unfamiliar with YAML as me (and it explains why I've kinda stayed away from it because writing it was as hard as reading it sometimes).
CSON seems to have a sweet-spot between them with less clutter than JSON but more straightforward block rules than YAML.