News for hackers. Stuff that matters.
Re:JSON or XML: Just Decide by benatkin on Thursday April 12, 2012 @08:57PM (#3834888)
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.

Re:JSON or XML: Just Decide by justin_vanw on Thursday April 12, 2012 @09:09PM (#3834925)
Being 'well documented' doesn't make it less of a pain.
Re:JSON or XML: Just Decide by mistercow on Thursday April 12, 2012 @10:04PM (#3835075)
But 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.