Making python's json parser handle undefined
| tags: python, json, javascript, programming
Major browsers insist on producing illegal json like
{ 'foo': undefined }
when objects contain an undefined value. It was pretty simple to monkey patch the json module to handle this case. I put the code on gist and include it here: