Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSON  RSS feed

 
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
Bartender
Posts: 3174
34
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
Sheriff
Posts: 16026
87
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
Boost this thread!