Tag archives for Gson
Parse and write JSON data in Java with Gson
Nowadays, JSON is the most widespread format to exchange data on the Web. REST Web Services use it. JSON is lighter than XML and lets to save bandwith when you consume this services. In Java, there is a great library named Gson that makes developers' life easier. Created by Google, Gson is open source and available on GitHub here : …
Make your REST client easily in Android with Retrofit
Very often, Android applications are connected to backend services and consume REST services to get data. When you think to that kind of apps, you can imagine an application that displays weather to a user and get data from a backend service. Or you can imagine a Todo client that stores todos on server to offer users to check their…
Learn how to parse JSON in Android with Gson
Previously you had learnt to consume a REST Web Service in JSON and parse result to display data in an Android application. To start from basics, I show you raw method that uses only standard SDK and no third-party libraries. I think it's better when you begin to understand how things work. Now, you know raw method so we can…