Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

JSON is left as it is when reformatting would make it much longer

Claude Code now keeps JSON in its original form if the neatly formatted version would be too much longer

Under the hood Internal Changes
JSON All of v2.1.334
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.334,
Internal ChangesSection of the release
What

Claude Code reformats JSON text with line breaks and indentation to make it easier to read. JSON is a common format for structured data. Before, it always reformatted.

Now it compares the original and the reformatted text with spacing removed. It keeps the original text if the reformatted version is longer than a set multiple of the original's size. It treats an escaped slash (\/) the same as a plain slash during the comparison.

Why

Tool output containing JSON no longer gets bloated by reformatting.

See this entry in the whole of v2.1.334 →

Feedback