Message 82865 - Python tracker (original) (raw)

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)