The Gson project is a Java library developed by Googler for converting Java Objects for data-interchange using JSON, and vice versa.
The Gson project is a Java library developed by Googler for converting Java Objects for data-interchange using JSON, and vice versa.
Gson can work with arbitrary Java objects including pre-existing objects, even if you don’t have access to the source code. Gson also supports Generics, unlike most other similar Java-to-JSON technologies.
Gson is supported natively by Android 3.x onwards – here’s a good place to start
You might also want to check out Jackson JSON parser + JSON generator which purports to be meaner and leaner.
Scribbled by Ian
Advanced Android App Development Training Course
Our Advanced Android training course is very hands-on, delivered by our Expert Android instructors. You’ll learn Android app development best practices, and reduce the time to market using Model Driven Development techniques.
jQuery Training Course
Our jQuery training course will give you hands-on experience of using the key jQuery functionality from the ground-up, so you can pick it apart and use jQuery classes in a way which makes the best sense for your project.
Intro to PHP Programming Training Course
Our Intro to PHP training course focuses on the fundamental skills required: PHP language & syntax, displaying information from a database (MySQL) in the browser, getting user input with Web Forms, and writing data back to MySQL.
Android App Development Training Course
Learn to develop and deploy robust, professional Android apps using Java, delivered by our expert Android instructor.
020 3137 3920