Dear reader,
I'm working on a twitter client which uses the twitter streaming json api. Twitter advices JSON as XML version is deprecated. I'm looking for a good JSON parser which can parse the json data below.
I'm receiving this JSON which I want to be able to read/parse using a JSON parser.
{
"in_reply_to_status_id": null,
"text": "Home-plate umpire Crawford gets stung http://tinyurl.com/27ujc86",
"favorited": false,
"coordinates": null,
"in_reply_to_user_id": null,
"source": "<a href=\"http://apiwiki.twitter.com/\" rel=\"nofollow\">API</a>",
"geo": null,
"created_at": "Fri Jun 18 15:12:06 +0000 2010",
"place": null,
"user": {
"profile_text_color": "333333",
"screen_name": "HostingViral",
"time_zone": "Pacific Time (US & Canada)",
"url": "http://bit.ly/1Way7P",
"profile_link_color": "228235",
"profile_background_image_url": "http://s.twimg.com/a/1276654401/images/themes/theme14/bg.gif",
"description": "Full time Internet Marketer - Helping other reach their Goals\r\nhttp://wavemarker.com",
"statuses_count": 1944,
"profile_sidebar_fill_color": "c7b7c7",
"profile_background_tile": true,
"contributors_enabled": false,
"lang": "en",
"notifications": null,
"created_at": "Wed Dec 30 07:50:52 +0000 2009",
"profile_sidebar_border_color": "120412",
"following": null,
"geo_enabled": false,
"followers_count": 2485,
"protected": false,
"friends_count": 2495,
"location": "Working at Home",
"name": "Johnathan Thomas",
"verified": false,
"profile_background_color": "131516",
"profile_image_url": "http://a1.twimg.com/profile_images/600114776/nessykalvo421_normal.jpg",
"id": 100439873,
"utc_offset": -28800,
"favourites_count": 0
}, "in_reply_to_screen_name": null,
"id": 16477056501,
"contributors": null,
"truncated": false
}
*This is the raw string (above it beautified) *
{"in_reply_to_status_id":null,"text":"Home-plate umpire Crawford gets stung http://tinyurl.com/27ujc86","favorited":false,"coordinates":null,"in_reply_to_user_id":null,"source":"<a href=\"http://apiwiki.twitter.com/\" rel=\"nofollow\">API</a>","geo":null,"created_at":"Fri Jun 18 15:12:06 +0000 2010","place":null,"user":{"profile_text_color":"333333","screen_name":"HostingViral","time_zone":"Pacific Time (US & Canada)","url":"http://bit.ly/1Way7P","profile_link_color":"228235","profile_background_image_url":"http://s.twimg.com/a/1276654401/images/themes/theme14/bg.gif","description":"Full time Internet Marketer - Helping other reach their Goals\r\nhttp://wavemarker.com","statuses_count":1944,"profile_sidebar_fill_color":"c7b7c7","profile_background_tile":true,"contributors_enabled":false,"lang":"en","notifications":null,"created_at":"Wed Dec 30 07:50:52 +0000 2009","profile_sidebar_border_color":"120412","following":null,"geo_enabled":false,"followers_count":2485,"protected":false,"friends_count":2495,"location":"Working at Home","name":"Johnathan Thomas","verified":false,"profile_background_color":"131516","profile_image_url":"http://a1.twimg.com/profile_images/600114776/nessykalvo421_normal.jpg","id":100439873,"utc_offset":-28800,"favourites_count":0},"in_reply_to_screen_name":null,"id":16477056501,"contributors":null,"truncated":false}
I've tried multiple JSON parsers from json.org though I've tried 4 now and can't find one which can parse above json.
Kind regards, Pollux