Skip to content
HALOWERK

File Formats and Conversion

json merge patch preview

JSON Merge Patch preview: return the resulting document after applying RFC 7396 replace and remove semantics. Use it when an agent needs to review a merge patch before storing or transmitting it.

POST https://format.halowerk.com/v1/json-merge-patch-preview

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
target_jsonstringYes
patch_jsonstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "target_json": {
      "type": "string",
      "maxLength": 18000,
      "minLength": 1
    },
    "patch_json": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1
    }
  },
  "required": [
    "target_json",
    "patch_json"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "target_json": "{\"a\":\"b\",\"c\":{\"d\":\"e\",\"f\":\"g\"}}",
  "patch_json": "{\"a\":\"z\",\"c\":{\"f\":null}}"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’