Gson Tutorial — Mapping of Nested Objects

preview_player
Показать описание
In this video you'll get learn how you can map nested objects with Gson.

Tip: turn on subtitles to deal with my accent.

Find the tutorial for an easy read here:

The first video (Getting Started) in our Gson series is here:

See Gson in action in our Retrofit video series here:

----------------------------------------

Our book on Gson is also available on leanpub:

----------------------------------------

Checkout 320+ technical in-depth tutorials:

Subscribe for two new videos every week:

----------------------------------------

Follow us on social media to get updates on new content:

----------------------------------------
Рекомендации по теме
Комментарии
Автор

Thank you alot. My problem with Json was that I found on many places that it was "simple" without much explanation of how it works. Clear, to the point and well prepared video. Thanks for the effort!

robinesperoza
Автор

Absolutely fantastic video. Thank you for this whole series!

delicious_lunch
Автор

Very nice tutorial series. Cleverly on the point and nicely presented. Thank you!

WumpscutCult
Автор

Hey man, don't worry about your accent, perfectly understand everything you're saying. Keep up the good work bro!

dannyle
Автор

Your video helped me a lot. Thank you very much :D

adityasharma
Автор

great explanation! thank you very much!

AnaRudespen
Автор

Thank you very much, you are good teacher, I read your tutorial before starting to watch video, right now I am training in some other examples of json, thank you very much.

RikoRiko-zidk
Автор

Clear and Good. Awesome way of teaching. keep it up dear.

thatsenam
Автор

Thank you very much... much grateful...

janammaharjan
Автор

I wanted to thank you so much for these series. I'm preparing for a project and this has been so much help! Very clear explanation and good structure in the video.
How can I make all variables be displayed in Eclipse like you have them in your IDE? I've done the deserialization, but I cannot check if it works correctly. Thanks.

cmulation
Автор

Hello, if multiple record how to loop data Nested ?

AsepSaepuloh
Автор

Hey sir, thank you for the video, i m new to your channel and i would like to ask if you have made any video on how to map a value into different types, for example from object to string and from string to object, thank you

AlgeriaHere
Автор

How to handle the generic type inside the object?Because the type of the object is not know before especially during deserialization.

sudhir
Автор

Great Videos! Thank you really. I worked with javax.jason before but this way is much easier. Very nice :D

origpxav
Автор

Hi, I need validation for @size annotation how can I do it please share the video😅

saanvilasya
Автор

How to map if nested object contains list of objects. Pls help

vishsharma
Автор

If this is even being looked at, how would i use an already existing json file to do this. i.e. Read the file and make it a Gson object.

r.f.mineguy
Автор

10:45 Please share the link of such video if you have already created, or please create one on this topic.

@Others: Please share if you come across any other videos for this topic --'Automating De/Serialization of large Json Object'

AnilChTechChannel
Автор

kindly let me know one of the online tool to generate the java classes automatically, i loved the video, however i guess the first and second video could have been merged into one single video

perfectlyfantastic
Автор

Great Video! One question why did it return this$0 =null?

cholschuh