Uploaded April 2018 | Updated November 2026, 13 hours ago
Gson is an open-source JSON library which aims to be simple and quick to use while providing a bunch of options to accommodate even some complex use cases.
In this tutorial you're going to learn the basics of Gson and how to generic classes (lists to be exact) to and from JSON. Parsing JSON strings and making generic lists out of them is a bit more challenging than it may seem at first glance. It requires a bit of work with TypeTokens. You will also learn how to create an extension function in Kotlin.
Gson library: github.com/google/gson
Get the code written in this tutorial: wp.me/p8jOJP-8t
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● facebook.com/resocoder
● twitter.com/resocoder
Gson is an open-source JSON library which aims to be simple and quick to use while providing a bunch of options to accommodate even some complex use cases.
In this tutorial you're going to learn the basics of Gson and how to generic classes (lists to be exact) to and from JSON. Parsing JSON strings and making generic lists out of them is a bit more challenging than it may seem at first glance. It requires a bit of work with TypeTokens. You will also learn how to create an extension function in Kotlin.
Gson library: github.com/google/gson
Get the code written in this tutorial: wp.me/p8jOJP-8t
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● facebook.com/resocoder
● twitter.com/resocoder








![Flutter Firebase & DDD Course [22] - Uncompleted Switch
📗 Get the code 👇👇
https://github.com/ResoCoder/flutter-ddd-firebase-course
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
UI for displaying the notes is almost done and the only thing thats missing is the ability to switch between all and only uncompleted notes. Lets implement the switch!
Go to my website for more information, code examples, and articles:
● https://resocoder.com
Follow me on social media:
● https://instagram.com/resocoder
● https://www.facebook.com/resocoder
● https://twitter.com/resocoder Flutter Firebase & DDD Course [22] - Uncompleted Switch](https://i.ytimg.com/vi/BR8bE6AUh8k/mqdefault.jpg)

