android - Get the data from the JsonArray -


this question has answer here:

this json result when print log.i not able data result.please suggest how data result. error shows of type org.json.jsonarray cannot converted jsonobject.i know there many posts related can't understand how data.

09-12 05:12:57.606: w/system.err(3385): org.json.jsonexception: value  [   {     "client": [       {         "office_name": "",         "is_verified": "1",         "forum_email_notification": "1",         "city": "",         "first_name": "pratik",         "balance": "0",         "option_domain_name": "vision",         "initials": "mr",         "client_type": "0",         "group_credit": "0.00",         "gender": "0",         "is_approved": "1",         "domain_name": "vision",         "client_id": "2",         "otherim": "",         "credit": "0.00",         "is_spam": "0",         "office_phone": "",         "parent_id": "0",         "domain_url": "http://example.com/vision4/sandip/v5/",         "fax": "",         "forum_signature_content": "",         "group_id": "1",         "optionb_domain_id": "1",         "country": "",         "contact_number": "",         "user_name": "test",         "email": "pratik@test.com",         "job_title": "",         "last_name": "t",         "parent_name": "",         "temporary_address": "",         "facebook_id": "",         "language": "1",         "office_contact_num": "",         "salt": "e2e838b89b16f488a901b3b364ad839e",         "zip_code": "",         "office_website": "",         "department": "",         "state": "",         "office_fax": "",         "login_as": "0",         "currency": "usd",         "permanent_address": "",         "department_access": "0",         "is_manager": "0",         "birthdate": "",         "registration_date": "1504254310",         "parent_email": "",         "password_auth": "0",         "group_name": "default",         "netmeetingid": "",         "website": "",         "domain_id": "1",         "is_banned": "0",         "twitter_id": "",         "mobile_number": "",         "office_address": "",         "authentication": "383y4a==",         "harvest_id": "0",         "image_path": "",         "office_email": ""       }     ],     "unsolve": 3,     "solve": 0   } ] of type org.json.jsonarray cannot converted jsonobject 

it's because result array of jsonobject , not jsonobject itself


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -