Download POJO Classes for REST Countries API

File Size1.87 KB
Create DateAugust 11, 2016

Description of POJO Classes for REST Countries

The download link contains a zip file of POJO classes for REST Countries; you will need for Retrofit Android Web Services. You will only need to add the package information for your project on the top of Java files to use in your Android Countries Information Web Services Project while using Gson library. You can also generate POJO files from JSONSchema2POJO. Paste the JSON format data in the editor, Set Source Type to JSON and Annotation Style to Gson and Download the zip files from the ZIP button at the bottom of the page.

Click here to learn how to use Retrofit with Gson in Andorid

Don't forget to remove the generated annotations from the code and its import. It sometimes generates errors.


Leave a Reply

Your email address will not be published. Required fields are marked *