How do you represent a JSON field in Go that could be absent, null or have a value? (5 mins read).

Why it's surprisingly hard to work out a field has been sent or whether it's explicitly null, when using Go's encoding/json.
Back to /kind/articles/, 2024, January 2024.
How do you represent a JSON field in Go that could be absent, null or have a value? (5 mins read).

Why it's surprisingly hard to work out a field has been sent or whether it's explicitly null, when using Go's encoding/json.
← 7 January 2024 14 January 2024 →