Click here to Skip to main content
13,049,814 members (74,758 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Its come from upc code llink

please help me its urgent
I want to use only product name , price and store name

{"0":{"productname":"UK Flag Cover For iPhone 4 / 4S - Unique iPhone 4S Phone Case","imageurl":"","producturl":"","price":"19.99","currency":"usd","saleprice":"","storename":""},"1":{"productname":"AceCamp Emergency Wilderness Kit I [Free Shipping US, Canada]","imageurl":"","producturl":"","price":"39.99","currency":"usd","saleprice":"","storename":""},"2":{"productname":"AceCamp Emergency Wilderness Kit II [Free Shipping US, Canada]","imageurl":"","producturl":"","price":"49.99","currency":"usd","saleprice":"","storename":""},"3":{"productname":"Waterproof Ultra Dry Sack (4 Packs Set) [Free Shipping US, Canada]","imageurl":"","producturl":"","price":"39.95","currency":"usd","saleprice":"","storename":""}}
Posted 7-Oct-12 8:40am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Android, android, but what context? Browser, java, MonoDroid?
Monodroid: according to some posts you can compile fastJson for monodroid
Browser: Depends on the browser. See support list:[^]
Kenneth Haugland 7-Oct-12 15:07pm
:laugh: for a second I thought you'd written a poem :-)
Zoltán Zörgő 7-Oct-12 15:13pm
AndroidVivek 8-Oct-12 1:36am
I don't have much knowledge about json thats why asked and I see some example where there is Array for json but in this json i didn't have any help me if you can...
Zoltán Zörgő 8-Oct-12 2:02am
Well, than read something about json first:,
AndroidVivek 8-Oct-12 5:40am
ok fine thanks
Zoltán Zörgő 8-Oct-12 7:12am
You can use an online json parser to check it: . I have checked your code, it is ok.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

use this link[^]

SONObject jData = new JSONObject(data);
JSONObject response = jData.getJSONObject("response");

boolean status = response.getBoolean("status");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100