{"version":"2.1.334","anchor":"json-reformat-is-skipped-if-the-output-would-grow-too-much","canonical_anchor":"json-reformat-is-skipped-if-the-output-would-grow-too-much","heading":"JSON is left as it is when reformatting would make it much longer","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/json-reformat-is-skipped-if-the-output-would-grow-too-much","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### JSON is left as it is when reformatting would make it much longer\n\nClaude Code now keeps JSON in its original form if the neatly formatted version would be too much longer\n\n**What**\n\nClaude 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.\n\nNow 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.\n\n**Why**\n\nTool output containing JSON no longer gets bloated by reformatting.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}