₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,268 members, 8,421,078 topics. Date: Friday, 05 June 2026 at 06:15 PM

Toggle theme

Participantjava's Posts

Nairaland ForumParticipantjava's ProfileParticipantjava's Posts

1 (of 1 pages)

ProgrammingRe: Exception While Reading JSON Object In Java by participantjava(op): 10:48pm On Feb 23, 2013
Ok ..thanks you. I was using json-simple.jar file.
Can you please suggest using java how can i create a talking tom like application? Which API in java should i use to create a talking tom like application? Thanks in advance.

Thanks.
ProgrammingException While Reading JSON Object In Java by participantjava(op): 5:16am On Feb 20, 2013
Hi Team,
Iam trying to read JSON object using java technology, but facing the exception.Below is the JSON object i want to read:
{"website":"http://developers.facebook.com","link":"http://www.facebook.com/FacebookDevelopers","about":"Grow your app with Facebook\nhttps://developers.facebook.com/ ","id":"19292868552","username":"FacebookDevelopers","category":"Product/service","cover":{"source":"http://sphotos-b.xx.fbcdn.net/hphotos-ash4/s720x720/377655_10151298218353553_500025775_n.png","cover_id":"10151298218353553","offset_y":0},"name":"Facebook Developers","likes":1138263,"were_here_count":0,"company_overview":"Facebook Platform enables anyone to build social apps on Facebook, mobile, and the web.\n\n","is_published":true,"talking_about_count":32452}
Exception is as below :
org.json.JSONException: JSONArray[6] not a string.
Can you please help me how to get key value pairs out of the JSON String given above using java technology. Thanks inadvance.

1 (of 1 pages)