Gary Bishop

Geeks making the world a bit better.

  • About
  • Blog
  • Calendar
  • Important
  • Publications
  • Research
  • Students
  • Teaching

Making python's json parser handle undefined

October 07, 2010 at 07:35 PM | 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:

Contact

Gary Bishop gb@cs.unc.edu
919-590-6186
255 Sitterson Hall
Chapel Hill, NC 27599-3175

Recent posts

Subscribe to posts
Subscribe to shared items

Top Tags

autism blind deaf dojo enabling technology home ideas javascript json links literacy mac maps motor impaired programming python random recipes science sound todo tornado ubuntu web wiimote windows

Archives

Copyright Gary Bishop. All rights reserved. Site info.