🌐
IETF
datatracker.ietf.org › doc › html › rfc6902
RFC 6902 - JavaScript Object Notation (JSON) Patch
RFC 6902 JSON Patch April 2013 1. Introduction JavaScript Object Notation (JSON) [RFC4627] is a common format for the exchange and storage of structured data. HTTP PATCH [RFC5789] extends the Hypertext Transfer Protocol (HTTP) [RFC2616] with a method to perform partial modifications to resources.
🌐
Medium
medium.com › globant › rfc-6902-based-http-patch-operation-on-json-objects-4babab66079c
RFC-6902 based HTTP Patch Operation on JSON Objects | by Jaydeep Parmar | Globant | Medium
September 27, 2022 - This is exactly where RFC-6902 comes to rescue. This specification talks about how the set of instructions can be sent using JSON Patch format for partial update to a resource.
Discussions

Better support for JSON Patch via RFC 6902 or RFC 7396
Full support for JSON Patch Description FusionAuth supports the HTTP PATCH method but this has some limitations. Merging, replacing or moving values is difficult. Examples Array Merges Initial Stat... More on github.com
🌐 github.com
10
January 16, 2020
JSON patch according to RFC6902
Enhancement? I recently ran into this blog post referring to the RFC6902 standard for JSON patch. It seems this patching standard allows some additional flexibility regarding patch operations. As a... More on github.com
🌐 github.com
1
December 31, 2019
Anyone using “JSON Patch” (RFC 6902) to fix only broken parts of LLM JSON outputs?
Openrouter has something “ response healing ” and I was wondering if they use it. I asked gpt 5.2 pro. It said there’s no public info on their implementation but something maybe relevant: JSON Patch is a patch document format (a sequence of ops like add, remove, replace, etc.) for applying changes to an already-parseable JSON document. It claimed the RFC was a “weird fit for this problem”. 🤷‍♂️ More on reddit.com
🌐 r/LocalLLaMA
4
0
January 12, 2026
JSON patch rfc6902: Sequential operation and index
4 Removing objects from an array using PATCH with RFC 6902 in a REST service. More on stackoverflow.com
🌐 stackoverflow.com
🌐
RFC Editor
rfc-editor.org › info › rfc6902
Information on RFC 6902 » RFC Editor
Other actions: View Errata | Submit Errata | Find IPR Disclosures from the IETF | View History of RFC 6902
🌐
npm
npmjs.com › package › rfc6902
rfc6902 - npm
February 27, 2026 - Complete implementation of RFC6902 "JavaScript Object Notation (JSON) Patch" (including RFC6901 "JavaScript Object Notation (JSON) Pointer"), for creating and consuming application/json-patch+json documents.
      » npm install rfc6902
    
Published   Feb 27, 2026
Version   5.2.0
🌐
Jsonpatch
jsonpatch.com
JSON Patch | jsonpatch.com
JSON Pointer (IETF RFC 6901) defines a string format for identifying a specific value within a JSON document.
🌐
Google Groups
groups.google.com › g › api-craft › c › EF8ib3IfMcQ
APIs in the wild using RFC-6902?
I've implemented JSON PATCH (RFC-6902) in our APIs and it works well. I would provide an example, but our external API Gateway provider still hasn't managed to get PATCH support working, so I've not updated our public documentation with use cases.
🌐
GitHub
github.com › KevinDockx › JsonPatch
GitHub - KevinDockx/JsonPatch: JSON Patch (JsonPatchDocument) RFC 6902 implementation for .NET · GitHub
JSON Patch (https://tools.ietf.org/html/rfc6902) defines a JSON document structure for expressing a sequence of operations to apply to a JavaScript Object Notation (JSON) document; it is suitable for use with the HTTP PATCH method.
Starred by 175 users
Forked by 29 users
Languages   C#
🌐
GitHub
github.com › FusionAuth › fusionauth-issues › issues › 441
Better support for JSON Patch via RFC 6902 or RFC 7396 · Issue #441 · FusionAuth/fusionauth-issues
January 16, 2020 - The JSON Patch RFC attempts to solve this problem by providing syntax for the intended operations. Ideally we'd find a library that implements RFC 6902 with Jackson and can be added transparently to our existing serialization / de-serialization strategy.
Author   robotdan
Find elsewhere
🌐
GitHub
github.com › mrcranky › rfc6902-mongodb
GitHub - mrcranky/rfc6902-mongodb: Helper module for converting JSON Patch documents into MongoDB update calls · GitHub
Helper module for converting JSON Patch documents into MongoDB update calls - mrcranky/rfc6902-mongodb
Author   mrcranky
🌐
GitHub
github.com › laminas-api-tools › api-tools-rest › issues › 6
JSON patch according to RFC6902 · Issue #6 · laminas-api-tools/api-tools-rest
December 31, 2019 - Enhancement? I recently ran into this blog post referring to the RFC6902 standard for JSON patch. It seems this patching standard allows some additional flexibility regarding patch operations. As an example; with this method of patching ...
Author   weierophinney
🌐
Oracle
docs.oracle.com › en › cloud › saas › transportation › 26a › otmra › JSON_PATCH.html
REST API for Fusion Cloud Transportation and Global Trade Management Business Object Resources
December 4, 2025 - JSON PATCH is a standard specified by RFC 6902 for modifying a resource "document" based on a URI and the HTTP PATCH method.
🌐
ACM Digital Library
dl.acm.org › doi › 10.17487 › RFC6902
RFC 6902: JavaScript Object Notation (JSON) Patch | Guide books
April 1, 2013 - RFC 6902: JavaScript Object Notation (JSON) Patch · Applied computing · Document management and text processing · Document preparation · General and reference · Document types · Information systems · Software and its engineering · Software creation and management ·
🌐
Reddit
reddit.com › r/localllama › anyone using “json patch” (rfc 6902) to fix only broken parts of llm json outputs?
r/LocalLLaMA on Reddit: Anyone using “JSON Patch” (RFC 6902) to fix only broken parts of LLM JSON outputs?
January 12, 2026 -

Hi folks — I’m building a pipeline where an LLM extracts a large structured JSON (100+ items) from documents. I run a deterministic validator (schema + business invariants). When validation fails, I currently ask another LLM call to “fix it”… but it re-outputs the entire JSON, which: • wastes tokens • risks mutating correct fields • makes diffs/debugging painful

I want a patch-based approach: fix ONLY the broken parts.

I’m inspired by the idea of asking the model for JSON Patch (RFC 6902) or some “minimal patch” format instead of regenerating the full object. Also reading this paper: https://arxiv.org/html/2510.04717v1 (JSON editing efficiency).

My current thinking: • Validator pinpoints the failing node(s) • Send the model only a small local context (broken node + parents/children) • Ask for patch ops (e.g., RFC 6902 JSON Patch or domain ops like reparent, set_values) • Apply patch deterministically • Re-validate / retry (bounded)

Another idea would be to grant access to the json file through tools (pydanticAI framework) and ask the agent to repair only the broken part but it seems this is not working

Has anyone shipped this in production? What worked / failed?

If you’ve tested the JSON Whisperer idea (or anything similar), I’d love your results!

🌐
GitHub
github.com › hollandjake › mini-rfc6902
GitHub - hollandjake/mini-rfc6902: TypeScript implementation of RFC6902 with mini-rfc6902 format support · GitHub
Complete TypeScript implementation of RFC6902 "JavaScript Object Notation (JSON) Patch" (including RFC6901 "JavaScript Object Notation (JSON) Pointer"), for creating and consuming application/json-patch+json documents with custom minified format ...
Author   hollandjake
🌐
GitHub
github.com › cujojs › jiff
GitHub - cujojs/jiff: JSON Patch and diff based on rfc6902
Jiff is an implementation of JSON Patch RFC6902, plus a Diff implementation that generates compliant patches.
Starred by 641 users
Forked by 40 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
GitHub
github.com › java-json-tools › json-patch
GitHub - java-json-tools/json-patch: An RFC 6902 (JSON Patch) and reverse, plus RFC 7386 (JSON Merge Patch), implementation in Java using Jackson (2.2.x) · GitHub
RFC 6902 mandates that when testing for numeric values, however deeply nested in the tested value, a test is successful if the numeric values are mathematically equal.
Starred by 694 users
Forked by 196 users
Languages   Java 99.9% | Shell 0.1%
🌐
Zuplo
zuplo.com › home › learning center › unlocking the power of json patch
Unlocking the Power of JSON Patch - Zuplo
October 10, 2024 - JSON Patch is a standardized format defined in RFC 6902 for describing how to modify a JSON document. It was created to address the need for a simple, efficient, and standardized way to apply partial updates to resources, especially over HTTP.
🌐
Pub.dev
pub.dev › packages › rfc_6902
rfc_6902 | Dart package
November 4, 2025 - JSON Patch (RFC 6902). Implements Add, Copy, Move, Remove, Replace, Test operations on JSON documents using JSON Pointers.
Published   Jan 27, 2021
Version   0.3.1
🌐
Microsoft Learn
learn.microsoft.com › en-us › aspnet › core › web-api › jsonpatch
JsonPatch in ASP.NET Core web API | Microsoft Learn
June 25, 2025 - Is defined in RFC 6902 and is widely used in RESTful APIs to perform partial updates to JSON resources.