qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 年前Why shouldn't you use YAML to store eye tracking data? /slemmy.worldimagemessage-square56linkfedilinkarrow-up1197arrow-down13
arrow-up1194arrow-down1imageWhy shouldn't you use YAML to store eye tracking data? /slemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 年前message-square56linkfedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up15·1 年前Valid JSON is valid YAML. So valid YAML can contain JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·1 年前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.
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up7·1 年前JSON is valid YAML does not imply that YAML is valid JSON
minus-squareDataElemental@programming.devlinkfedilinkarrow-up1arrow-down1·edit-21 年前That was my point, yes, but I was replying to @ZoteTheMighty@midwest.social’s suggestion that “all yaml is just sparkling json”.
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 was replying to @ZoteTheMighty@midwest.social’s suggestion that “all yaml is just sparkling json”.