File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


kala sagar

Joined: Feb 25, 2010
Posts: 7
Hey i am using one String this is of JSON Array format .


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


Update: Added Code tags(UseCodeTags)
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3151

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

Mohamed Sanaulla | My Blog
kala sagar

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: 15033

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

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: JSON
It's not a secret anymore!