@inproceedings{duanis-etal-2025-json,
title = "{JSON} Whisperer: Efficient {JSON} Editing with {LLM}s",
author = "Duanis, Sarel and
Greenstein-Messica, Asnat and
Habba, Eliya",
editor = "Potdar, Saloni and
Rojas-Barahona, Lina and
Montella, Sebastien",
booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track",
month = nov,
year = "2025",
address = "Suzhou (China)",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingest-emnlp/2025.emnlp-industry.88/",
pages = "1265--1274",
ISBN = "979-8-89176-333-3",
abstract = "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."
}Markdown (Informal)
[JSON Whisperer: Efficient JSON Editing with LLMs](https://preview.aclanthology.org/ingest-emnlp/2025.emnlp-industry.88/) (Duanis et al., EMNLP 2025)
ACL
- Sarel Duanis, Asnat Greenstein-Messica, and Eliya Habba. 2025. JSON Whisperer: Efficient JSON Editing with LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track, pages 1265–1274, Suzhou (China). Association for Computational Linguistics.