Monday, July 16, 2012

Downloading and using external Libraries for JSON

There are many libraries available to parse JSON, be carefull while choosing them. GSON is commonly used because they are quicker than the android classes.

1. Download GSON library from
http://code.google.com/p/google-gson/

2. Now add GSON library to your project, follow the given step.

  1. Right click on your project and select properties. Select Java Build Path.Then select Libraries tab.

             2. Now select the option Add external JARs at the right corner.

            3. Browse the path up to downloaded file and press ok.

The External JSON library is ready to use in project.

No comments:

Post a Comment