Skip to content
GoPHP.io

Topics about Go, PHP and more

Tag: marshal

marshal and unmarshal json with golang, nil values, empty structs and more!

Go and JSON: Tags, Empty Strings and Nil Values

Posted on September 25, 2021 by UberSwe

I noticed that many struggled with encoding and decoding JSON in Go. Here I cover the issues developers run into and how to solve them.

Posted in Everything, GoTagged golang, json, marshalLeave a Comment on Go and JSON: Tags, Empty Strings and Nil Values

Recent Posts

  • Go and JSON: Tags, Empty Strings and Nil Values
  • Will Github Copilot help me write code?
  • Run your own NameServers with CoreDNS
  • Minimalism in Web Development
  • How Switching Domain Registrars Saved Me $300+/Year

Recent Comments

  1. Carlos Herrera on Minimalism in Web Development
  2. cocoonkid on Minimalism in Web Development
  3. Santosh on Minimalism in Web Development
  4. researchiteng on How to Install Go 1.12 on Ubuntu 18
  5. NameSilo on How Switching Domain Registrars Saved Me $300+/Year

Archives

  • September 2021
  • July 2021
  • April 2021
  • July 2020
  • July 2019
  • June 2019
  • May 2019
  • January 2019
  • December 2018
  • May 2018
  • April 2018
  • February 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017
  • July 2017

Categories

  • AI
  • Amazon Web Services
  • Bots
  • Caddy
  • Colly
  • Cryptocurrency
  • DNS
  • Domains
  • Everything
  • Games
  • Github
  • Go
  • Hardware Wallet
  • How to
  • HTML
  • Notifications
  • PHP
  • Registrars
  • Slack
  • Trading
  • Vertcoin
  • Web Development

© 2023 Beubo