Gson Android Kotlin Tutorial - Parse Generic Lists from JSON & Introduction

preview_player
Показать описание
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.

Go to my website for more information, code examples and articles:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

I love(!!) that you go through the process of showing what does NOT work and why instead of just writing out the solution. Helps a TON with actually understanging this stuff!

Infernovogel
Автор

Wow, how did I not find your channel earlier? Super high quality, keep it up!

codinginflow
Автор

As always, great tutorial, hope to see the ep4 of firechat soon:)

yvnd
Автор

It's an excellent tutorial
Congratulations

victorrogelioguiveasena
Автор

Great tutorial as always <3 Thank you

tsayku
Автор

Hi. I am flowing ur tutorial but at 8.54s I can not see the small window of "users" like you (break point part). how can I see them? hope u see my question here!

aurinko_talo
Автор

really very nice tutorials. keep going

divakarluffy
Автор

I tried to follow the lecture.
In the meantime
I couldn't put the image in "res/drawable".
Didn't you put it in using Image Asset?

eodeun
Автор

Good vid. Might just be me but you speak quite quickly in your vids, maybe take some pauses or slow down a little? xD

fuyunatsu