Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSON

 
kala sagar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey i am using one String this is of JSON Array format .


i.e




Now i want to parse values from it. How can i do .

any JSON experts are there please help me

I am not able to parse it ......

Thanks in advance

kalasagar

Update: Added Code tags(UseCodeTags)
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the GSON library. You can use it to parse JSON.
 
kala sagar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.


Do you have any sample api how to use it ?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the documentation on the GSON website, it contains examples.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic