Advanced JSON Handling in Go

preview_player
Показать описание
This video discusses a few advanced techniques to address some common JSON situations with Go.

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

I've been searching for solutions for these problems a whole day.
Thanks so much this is wonderful.

nwweulp
Автор

Thank you very much for this tutorial and I had a lot of problems in those cases and I had not found something as complete as this because I did not know mainly if there were ways in which golang would handle them in a concrete way but as I see one has to figure it out I think there must be something for these types of cases because sometimes it is very complex to handle them but with your examples you help me on how to handle them currently, thank you very much from Mexico

lobobogard
Автор

I was really enjoying writing in go until i had to unmarshal complicated json... Maybe with these techniques it will be not so painful, thank you for sharing your knowledge.

KennethFeur
Автор

Thanks so much for this. It covered all my questions and more. An excellent tutorial.

andrewkillen
Автор

The problem with private fields in unmarshaling is, that there is no error returned, when the expected struct field is non existent for the returned json. Making it very hard to find these bugs.

jf
Автор

4:30 struct fields should be kept CamelCased otherwise wouldn't support marshalling and unmarshalling ! Brother I actually didn't know that .Thank u so much

yogeshdharya
Автор

what did you use to create this slideshow with code examples?

louiseyousre
Автор

I don't know if the language has changed or what, but i copied you example letter for letter on the "Array or single element" piece and it doesn't work. data[0] would be '[' as opposed to '"'. And in fact data[1] seems to be a escape seq "\"".
Maybe ive missed something. Not spotting it yet.

SuperMANTHER
Автор

Is your book only 5% completed since 2020? When is going to be complete? Nice video.

GustavoDiaz