Gson Android Kotlin Tutorial - Convert Interfaces to & from JSON

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 how to serialize and parse interfaces to JSON strings. An interface cannot be instantiated so we need to somehow remember the the class which implements our interface and instantiate this class directly. GSON lets us do it in an elegant and simple way.

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

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

Great content man, actually one of the most interesting ones inside youtube. Nowadays it's difficult to see someone explaining key aspects about kotlin(android) instead of stupid crash courses teaching conditionals and loops or just simply the language and not real implementations in less than 40mins.

ego-qxwv
Автор

How to program a professional audio player application from the Internet kotlin

abcdefj