[Golang] How to marshal and unmarshal JSON?

preview_player
Показать описание
JSON 101 in Golang, marshalling and unmarshalling!

Happy coding!

---
Golang version: 1.15
IDE: Goland
OS: Mac
Accent: French
Рекомендации по теме
Комментарии
Автор

I'm new to marshalling/unmarshalling data, the tips about using omitempty or a dash to restrict what is marshalled is great!

FuzioN
Автор

Thanks for the simple explanation. In future videos, zoom your editor to make the code easier to see on a small screen, like on a phone.

markcampanelli
Автор

In the future please consider enlarging the font size, or zooming into the small area of your screen where things happen. Thanks

JonDisnard
Автор

Hey! Awesome tutorial! Thank you!
but when I tried the same code and printed the pBytes.. I am getting only the name in the console and not the other elements.
Can you please help me with that?
Thanks again!

rohann