JSON parsing using GSON with Android

Опубликовано: 17 Май 2026
на канале: AndroidABCD
36,969
186

Hi Subscribers and watchers,

Underneath the description i have attached all the necessary information to start working on.

In this webservices tutorial we are going to learn how to parse json api using gson library and for the efficiency and speedy way to parse the json i have used asynchttp network library and picasso image library in the tutorial i have explained it deeply.

Step 1: Create an android project with title as your choice and internet permission to the manifest.

Step 2: Using gradle please web tool get gradle dependencies for the libraries such as gson asynchttp (loopj) and picasso.

Step 3: Create listview in the main activity xml and do create each list item layout as shown in the video.

Step 4: Using 'GsonFormat' Android studio plugin generate the getters and setters for the json response.

Step 5: Write custom adapter with the list of items as param in its constructor as showed in the video do inflate the each list item layout in the adapter, Using picasso library inside adapter you can load the image.

Step 6: Instantiate all the classes and using asynchttp get method call you can call the json api as shown.

// RottenTomatoe movie list api
http://api.rottentomatoes.com/api/pub...


// Dependency finder
http://gradleplease.appspot.com


// JSON Formatter
http://jsonviewer.stack.hu/


// Java Helpers
http://java2s.com/Book/Java/CatalogJa...

https://www.udemy.com/java-tutorial/

http://codingbat.com/

http://programmingbydoing.com/

// Understanding REST API
http://www.copterlabs.com/blog/json-w...


// You can find me from
https://github.com/ashokslsk

Thank you for subscribing our channel :)