4 ms·
You're feigning outrage. It's a valid and well-documented design decision that keys in JSON are strings. If you want a language-specific serialization format
by benatkin 15y ago
You're feigning outrage.
It's a valid and well-documented design decision that keys in JSON are strings.
If you want a language-specific serialization format based on JSON, come up with a dialect.
- justin_vanw 15y agoBeing 'well documented' doesn't make it less of a pain.
- mistercow 15y agoBut I mean, yes it does. Imagine if implementations were inconsistent as to what they allowed for JSON keys so that your browser couldn't understand the JSON your python code sent it. That scenario is prevented by the limitation being well documented.