Preferences

bastawhiz parent
JSON is mostly a strict subset of Python. That's not unexpected, but it makes me question how something like this actually happened. Your bug likely resulted from someone doing a `str(obj)` instead of `json.dumps(obj)`. Hardly the fault of JSON for being very similar to Python's default string serialization.

That is precisely what they did, yes, and some of the client code (e.g. JavaScript) DWIMed it (accepted it)

This item has no comments currently.