Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

FWIW, here's the intended code for the filter in the last post:

    books = json.loads(infile, object_hook=OrderedDict)
    for book in books:
        del book['isbn']
    json.dumps(books, outfile)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5381>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to