qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-23 days agoWhy shouldn't you use YAML to store eye tracking data? /slemmy.worldimagemessage-square56linkfedilinkarrow-up1189arrow-down13
arrow-up1186arrow-down1imageWhy shouldn't you use YAML to store eye tracking data? /slemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-23 days agomessage-square56linkfedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up15·2 days agoValid JSON is valid YAML. So valid YAML can contain JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·2 days 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-up7·2 days agoJSON is valid YAML does not imply that YAML is valid JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·edit-21 day agoThat was my point, yes, but I meant to reply to @[email protected].
All yaml is just sparkling JSON.
Always has been
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 @[email protected].