Difficulty w/json keys

J. Cliff Dyer jcd at sdf.lonestar.org
Fri Apr 23 18:06:38 CEST 2010

You need to know what your input data actually looks like, and the best
thing for that is a little bit of formatting.  I bet you can figure out
the problem yourself, once you see the structure of your data more
clearly.  I've reformatted the JSON for you to help out.

On Fri, 2010-04-23 at 07:20 -0700, Red wrote:
> ------ Two Sample Twitter lines -------------
  "text":"tech managers what size for your teams? better to have 10-20
ppl per manager or 2-5 and have the managers be more hands
  "created_at":"Thu Apr 22 17:35:42 +0000 2010",
  "source":"<a href=\"http://twitterfeed.com\" rel=\"nofollow
  "user": {
    "time_zone":"Eastern Time (US & Canada)",
    "created_at":"Tue Oct 27 19:50:51 +0000 2009",
    "statuses_count": 286,
    "description":"I write code and talk to people.",
    "location":"Near the water.",
    "followers_count": 40,
  "id": 12651537502,
  "delete": {

More information about the Python-list mailing list