💬 Re: How do you represent a JSON field in Go that could be absent, null or have a value?

In reply to: Re: How do you represent a JSON field in Go that could be absent, null or have a value?

I have nothing helpful to add here except to say, Javascript’s undefined/null duality continues to be a mistake.

(But also, anything that relies on that duality has also made a mistake.)

Comments

Before commenting, please read the comment policy.

Avatars provided via Libravatar