*
The moose likes Java in General and the fly likes JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JSON" Watch "JSON" New topic
Author

JSON

kala sagar
Greenhorn

Joined: Feb 25, 2010
Posts: 7
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

Joined: Sep 08, 2007
Posts: 3064
    
  33

Have a look at the GSON library. You can use it to parse JSON.


Mohamed Sanaulla | My Blog
kala sagar
Greenhorn

Joined: Feb 25, 2010
Posts: 7
Thank you.


Do you have any sample api how to use it ?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Look at the documentation on the GSON website, it contains examples.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSON
 
Similar Threads
jQuery.getJSON callback not executing
passing response as json vs. string array
popular open source java JSON parser
How to do Stress and performance testing for Webservices API
How to efficiently parse JSON string?