mlsanityData to 7 Oct 2026

JSON Whisperer: Efficient JSON Editing with LLMs

arXiv 2510.04717 ↗First posted 6 Oct 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) can modify JSON documents through natural language commands, but current approaches regenerate entire structures for each edit, resulting in computational inefficiency. We present JSON Whisperer, a framework that enables LLMs to generate RFC 6902 diff patches-expressing only the necessary modifications-rather than complete documents. We identify two key challenges in patch-based editing: (1) LLMs often miss related updates when generating isolated patches, and (2) array manipulations require tracking index shifts across operations, which LLMs handle poorly. To address these issues, we introduce EASE (Explicitly Addressed Sequence Encoding), which transforms arrays into dictionaries with stable keys, eliminating index arithmetic complexities. Our evaluation shows that patch generation with EASE reduces token usage by 31% while maintaining edit quality within 5% of full regeneration with particular gains for complex instructions and list manipulations. The dataset is available at: https://github.com/emnlp2025/JSON-Whisperer/

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 5 of its 18 references that are in the map. First posted on arXiv 6 Oct 2025.

Builds on

5 of 18 references.

References · 5

  1. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  2. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  3. 2024Exploring the Capabilities of LLMs for Code Change Related Taskscited by 18
  4. 2019Parsing Gigabytes of JSON per Secondcited by 4
  5. 2025GUIDE: LLM-Driven GUI Generation Decomposition for Automated Prototypingcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.