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.
This post contains all the code that’s been written in this YouTube video.
To get the code check out this GitHub repository: https://github.com/ResoCoder/gson-tutorial-interfaces


I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thank you for your shening. I am worried that I lack creative ideas. It is your enticle that makes me full of hope. Thank you. But, I have a question, can you help me? https://accounts.binance.com/en-IN/register?ref=UM6SMJM3
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Your article helped me a lot, is there any more related content? Thanks!