Module ca.marcusdunn.jsonlens.patch


module ca.marcusdunn.jsonlens.patch

RFC 6902 JSON Patch: a sequence of operations that changes a JSON document.

JsonPatch reads a patch document with any JsonModel, and applies it in place to a document of a model that also implements JsonFactory and JsonEditor. A failed patch leaves the document with its original value.

Dependencies

At runtime, this module requires only java.base, the model module, and the pointer module. The JSpecify nullness annotations (requires static) are necessary only at compile time. All exported packages are @NullMarked: a type is not nullable unless it has @Nullable.