Conversation

why email addresses can have comments but json can't

2
0
0

@Sominemo comments for... email? How would that work?

1
0
0

@Sominemo
JSON was always assumed to just be in a JS file. So you'd just use JS comments.
But this system hasn't umm.... EVER worked or even been a good assumption in my experience.

And then instead of being used in JavaScript it became a general-use markup language.
So now there are a million implementations of readers for it and they don't always agree on what's valid. It's usually easiest to just disallow comments.

cc @falkreon

1
0
0

@halotroop2288 mhm, it was more of a rhetorical question because this comparison makes it funny

0
0
0

@Sominemo it’s what happens if you raccreate an enraccoding standard that is shit for everyone equally

0
0
1
opinions
Show content
  1. we should really be using some kind of JSON superset for editing by humans, with trailing commas and more syntactic sugar, and keep the basic JSON as just a serialisation format;
  2. we should really find a better image to represent the idea of a utopistic future than this soulless glass city with individualised living and tranportation.

@Sominemo

1
0
0

@mira I honestly think the "soulless glass city" just underlines the ironic message of this meme format, unless you mean it in general =)

0
0
0