
APIs
Tell Null Missing and Zero Apart in Go JSON Decoding
Tell absent, null and zero apart when decoding JSON in Go: why pointers fail, what RawMessage and a generic Optional give you, and omitzero on output.
10 min read
Everything you need to level up your coding skills.

Tell absent, null and zero apart when decoding JSON in Go: why pointers fail, what RawMessage and a generic Optional give you, and omitzero on output.

Huma, Fuego and Fizz compared on one endpoint: generated OpenAPI, validation, error shapes, 3.5 to 6.6 µs per request, binary size and dependencies.
We send one email when a new article is published. No spam.