In <o0nhh5$i5q$1...@reader2.panix.com> John Gordon <gor...@panix.com> writes:

> In <b9f6b419-7923-4c51-ba0d-c3bed68b0...@googlegroups.com> 
> mike.rei...@gmail.com writes:

>     with open("json.dat", "r") as fp:
>         data = json.load(fp)
>         for item in data:
>             if item['name'] == 'myField2':

Oops, that should be 'myField1' of course.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to