Go JSON unmarshalling for custom types
Fix the stack overflow when a Go UnmarshalJSON or MarshalJSON method calls json.Unmarshal on its own type: convert to a temporary type to break the loop.
Read articleI'm Robin Hallabro-Kokko, a native app developer in Borås, Sweden. I build apps through HK Softworks, using AI as part of my development workflow.
I write about the problems I encounter along the way. Away from the keyboard, I enjoy cycling, books and travel.
Fix the stack overflow when a Go UnmarshalJSON or MarshalJSON method calls json.Unmarshal on its own type: convert to a temporary type to break the loop.
Read articleA guide on retaining your Hetzner Load Balancer's public IP when migrating to a new project.
Read articleTroubleshooting SMTP servers with Swaks
Read article