Tagged articles

encoding/json

4 articles · Page 1 of 1
TonyBai
TonyBai
Sep 16, 2026 · Backend Development

Go encoding/json/v2: 14-Year Evolution from Legacy Flaws to Modern Design

This article chronicles the 14-year evolution of Go's encoding/json standard library, detailing how backward compatibility constraints prevented fixing known flaws, the rise of third-party high-performance alternatives, and the eventual creation of encoding/json/v2 in Go 1.27 with a dual-package architecture that preserves v1 behavior while enabling modern defaults and performance gains.

GoGo 1.27JSON parsing
0 likes · 86 min read
Go encoding/json/v2: 14-Year Evolution from Legacy Flaws to Modern Design
DevOps Coach
DevOps Coach
Feb 19, 2026 · Backend Development

Why Go’s JSON v2 Is Worth the Wait: Deep Dive into Features, Performance, and Roadmap

The article examines Go 1.26’s release, explains why the experimental encoding/json/v2 package remains hidden, details its architectural redesign, key new features, performance gains, critical blockers such as a memory‑regression issue, and outlines the realistic timeline for its stable inclusion in Go 1.27.

JSONbackward compatibilityencoding/json
0 likes · 15 min read
Why Go’s JSON v2 Is Worth the Wait: Deep Dive into Features, Performance, and Roadmap
Radish, Keep Going!
Radish, Keep Going!
Feb 12, 2026 · Backend Development

Why Go’s JSON v2 Is a Game-Changer and When It Will Arrive

The article examines Go 1.26’s release, the missing encoding/json/v2 package, its architectural split, new struct tags, performance gains, critical memory‑allocation issues, the four blockers delaying stable adoption, and the projected timeline for JSON v2 to become the default in Go 1.27.

Goencoding/jsongo1.26
0 likes · 15 min read
Why Go’s JSON v2 Is a Game-Changer and When It Will Arrive
BirdNest Tech Talk
BirdNest Tech Talk
Sep 11, 2025 · Backend Development

Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains

The article analyzes the long‑standing issues of Go's original encoding/json package, explains the design and API of the experimental encoding/json/v2 and jsontext packages, and shows how the new implementation improves correctness, flexibility, and performance while preserving compatibility.

API DesignGoJSON
0 likes · 23 min read
Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains