---
title: "The Fine Print: Part 3"
url: https://daily.dev/posts/the-fine-print-part-3-dtkrwxrsv
source_url: https://www.ardanlabs.com/blog/2025/05/json-the-fine-print-part-3.html
type: article
source: "Ardan Labs"
published: 2025-05-20T13:33:37.996Z
updated: 2025-05-20T13:33:52.780Z
tags: ["golang"]
reading_time: 8
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Fine Print: Part 3

**[Ardan Labs](https://daily.dev/sources/ardlbs)** · 8 min read · 2 upvotes · 0 comments

## Summary

Explores the challenge of distinguishing zero from null values in JSON while using Go. It presents three techniques to address this issue: pointer semantics, using maps, and applying default values, each with its advantages and drawbacks. The article provides code examples to illustrate each method and emphasizes the importance of appropriate JSON field validation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.ardanlabs.com/blog/2025/05/json-the-fine-print-part-3.html>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/the-fine-print-part-3-dtkrwxrsv)
