Click here to Skip to main content
15,936,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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":"http://ecx.images-amazon.com/images/I/51RRBmsEKcL._SL160_.jpg","producturl":"http://www.searchupc.com/rd.aspx?u=d%2bKvXQ%2fFIfa95xJ38QYLyaufs%2fTgF0eohC5P5DKUSWnrVZXszogyd5CZJYI0lilV30XSbSodUXU5KqyCHXGdEt%2bVmdGj9CvS2djXvDmPAMdHn11THYzzgmlwNfIe7CfMlEKvqWKBk4WGuaFy6dk5VcIX5q4WE6c%2fzYadPmzYeXNRKse9oj7Rbq1ZGTP2Iyc7U7out%2fRUXFZicF1Z6jOBGXqfTHhViL8NthunsdQ6DVk%3d","price":"19.99","currency":"usd","saleprice":"","storename":"amazon.com"},"1":{"productname":"AceCamp Emergency Wilderness Kit I [Free Shipping US, Canada]","imageurl":"http://ecx.images-amazon.com/images/I/41T3ZBlBZNL._SL160_.jpg","producturl":"http://www.searchupc.com/rd.aspx?u=d%2bKvXQ%2fFIfa95xJ38QYLyasA2tiKTuODJDa5ycky1VINmthebvJVLJ93QKtFzi0TtRTt1r%2bFNLH4F0BI0I4CJGK84HF%2fAjTR7XJgErgcsj1o%2fY9It3tQOrMK8mfpARcWMZ0mAqRy3NKO7Ynj9Y92vowSDG3ipnoXaf4nurPHczBiR9pDttGaqH3N2GVRRrrFqFO7Gfe4gNQPQDIh%2bNwCnvqGMN4wgKDvYOt9NPfUUP%2b%2fAKBzhILJRV%2fE%2f9nu4UGG%2be3pl0vFWmNHeivwKH9srw%3d%3d","price":"39.99","currency":"usd","saleprice":"","storename":"amazon.com"},"2":{"productname":"AceCamp Emergency Wilderness Kit II [Free Shipping US, Canada]","imageurl":"http://ecx.images-amazon.com/images/I/51iJmlUhkoL._SL160_.jpg","producturl":"http://www.searchupc.com/rd.aspx?u=d%2bKvXQ%2fFIfa95xJ38QYLyasA2tiKTuODJDa5ycky1VINmthebvJVLJ93QKtFzi0TtRTt1r%2bFNLH4F0BI0I4CJH%2bSXuFgKGrOWYw7yalphSgB1TG9yAo0VS9CNhVXMgVlBTpd7KOtramXMCqvqo6asKtJ5T%2bfjSaoQ2HIMGzcGXlUvxA4ClsntG2%2b7Gdj3hEXbPtkdxqtA0eZgz2YtKj0CZArpVBwGYeDQ0DHoC76bouN3NsEc2znPF1cpBuKvCtFuGK8brzV6DSwNaM%2bjvb7eQ%3d%3d","price":"49.99","currency":"usd","saleprice":"","storename":"amazon.com"},"3":{"productname":"Waterproof Ultra Dry Sack (4 Packs Set) [Free Shipping US, Canada]","imageurl":"http://ecx.images-amazon.com/images/I/41s4jTd8wZL._SL160_.jpg","producturl":"http://www.searchupc.com/rd.aspx?u=d%2bKvXQ%2fFIfa95xJ38QYLyVa9b8%2fCVMfOUk7HwaA3FGyrXxT1dMSAOqT%2bMkN5AcDOO%2baaLs63L0CZO7OFWNimYWQP3wsM11M2XuJ26wpstkx8T0Td%2ftudSTtGZxBF%2b%2fu1O54qXv7BVLP7YqY6PJ%2bd%2bkJyq8fHFddjzGG5XxjPGguiGir4v0dPto51r6cd6iImVDRXZAx7AiN9A1IRCdnooAfgmvewVcEtLa0Rk4%2bwYtCP9GwlmsMtCJsrvjo262Mq","price":"39.95","currency":"usd","saleprice":"","storename":"amazon.com"}}
Posted

Android, android, but what context? Browser, java, MonoDroid?
Java: http://www.vogella.com/articles/AndroidJSON/article.html[^]
Monodroid: according to some posts you can compile fastJson for monodroid
Browser: Depends on the browser. See support list: http://caniuse.com/json[^]
 
Share this answer
 
Comments
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 array..so help me if you can...
Zoltán Zörgő 8-Oct-12 2:02am    
Well, than read something about json first: http://www.w3schools.com/json/default.asp, http://en.wikipedia.org/wiki/JSON
AndroidVivek 8-Oct-12 5:40am    
ok fine thanks
use this link

http://stackoverflow.com/questions/8294062/android-json-object[^]


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

boolean status = response.getBoolean("status");
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900