DEV Community

Discussion on: YAML vs. XML vs. JSON for Configuration

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Due to lack of real life choices, I have to choose YAML, and sometimes, *.js; but I like JSON because

  • Picky about quotes. Not being picky leads to unexpected behavior.
  • Picky about true, false

For anything that includes multi-line string, I would have to use YAML. Someone posted a nice tutorial a while ago... There is no alternative, if not for some indentation-based syntax...