The problem with that is not only would it break old code, but the neat little trick of JSON being directly embeddable would break. And who would want that.
Edit: I forgot that “true”, “false”, and “null” don’t exist in Python. Not the hardest thing to fix by declaring some local variables, but at that point you’re doing too much and should use a library.
Edit 2: added quotes around the keywords to disambiguate them from the general concepts
21
u/carcigenicate 2d ago
{/}is being proposed so sets have an empty literal.