user1033263
user1033263

Reputation:

Which is the best way to parse the JSON response?

I have tried to use the JSON in the android but it seems to be very limited for building and parsing. since you need to give static strings to get the data? any good library for pasing JSON?

Upvotes: 2

Views: 499

Answers (3)

Zsombor Erdődy-Nagy
Zsombor Erdődy-Nagy

Reputation: 16914

I recommend using Gson.

Upvotes: 0

Lukas Knuth
Lukas Knuth

Reputation: 25755

The Android library ships with the simple JSON-java-library, which does a gread job for creating an parsing JSON.

If you want it to be even easier, you can use Google Gson. Examples on how to use it can be found on the project page.

Upvotes: 3

Dinesh Prajapati
Dinesh Prajapati

Reputation: 9510

You can use the Google provided library for the same which is GSON. you can get it from google repository and embed in your project and use it from tutorial only.

http://code.google.com/p/google-gson/

Upvotes: 3

Related Questions