qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-22 days agoWhy shouldn't you use YAML to store eye tracking data? /slemmy.worldimagemessage-square50fedilinkarrow-up1173arrow-down13
arrow-up1170arrow-down1imageWhy shouldn't you use YAML to store eye tracking data? /slemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-22 days agomessage-square50fedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up9·17 hours agoValid JSON is valid YAML. So valid YAML can contain JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·15 hours agoThat’s a long way from all or most YAML being JSON-compatible. I wonder if more YAML files in the wild parse as Markdown than JSON.
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up6·14 hours agoJSON is valid YAML does not imply that YAML is valid JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·edit-21 hour agoThat was my point, yes, but I meant to reply to @ZoteTheMighty@midwest.social.
How do you figure?
Valid JSON is valid YAML.
So valid YAML can contain JSON
That’s a long way from all or most YAML being JSON-compatible. I wonder if more YAML files in the wild parse as Markdown than JSON.
JSON is valid YAML does not imply that YAML is valid JSON
That was my point, yes, but I meant to reply to @ZoteTheMighty@midwest.social.