Comment on A lot of YAML
TheGiantKorean@lemmy.world 11 months agoThe fact that it allows comments is really, really handy. I used to be a JSON advocate until I realized this one useful piece of info.
Comment on A lot of YAML
TheGiantKorean@lemmy.world 11 months agoThe fact that it allows comments is really, really handy. I used to be a JSON advocate until I realized this one useful piece of info.
bellsDoSing@lemm.ee 11 months ago
Yeah, such a simple, but still killer feature. Really sad that JSON doesn’t support them.
TheGiantKorean@lemmy.world 11 months ago
I wonder how you’d even implement that. Like maybe {! At the beginning.
GTG3000@programming.dev 11 months ago
Most comment-aware JSON parsers I’ve seen just use standard // to delineate comment lines.
TheGiantKorean@lemmy.world 11 months ago
They make sense.