pcouy@lemmy.pierre-couy.fr to Programming@programming.devEnglish · 6 days agoThe yaml document from hellruudvanasseldonk.comexternal-linkmessage-square40fedilinkarrow-up1102arrow-down15file-text
arrow-up197arrow-down1external-linkThe yaml document from hellruudvanasseldonk.compcouy@lemmy.pierre-couy.fr to Programming@programming.devEnglish · 6 days agomessage-square40fedilinkfile-text
A 10 minute read covering some YAML edge-cases that you should have in mind when writing complex YAML files
minus-squarerottingleaf@lemmy.worldlinkfedilinkarrow-up2·5 days agoIf you keep it simple, then probably JSON is easier. In other cases too.
minus-squaretyler@programming.devlinkfedilinkarrow-up1·4 days agoJSON is not easier for most strings. Anything multiline for example. But yaml is a superset of JSON so you literally can use JSON and it’s still valid YAML.
If you keep it simple, then probably JSON is easier. In other cases too.
JSON is not easier for most strings. Anything multiline for example.
But yaml is a superset of JSON so you literally can use JSON and it’s still valid YAML.