{"id":"json-merge-patch","version":"1.0.0","description":"Apply an RFC 7396 JSON Merge Patch to a JSON value.","supported_operations":["json merge patch","apply json merge patch","rfc 7396 merge patch"],"unsupported_operations":["json patch rfc 6902","elementwise array merge","json pointer set","fuzzy merge","read files","fetch urls"],"semantics":["If patch is not a JSON object, including when it is an array or null, the result is the patch.","If patch is an object and target is not a non-array object, merging starts from an empty object.","A null patch value deletes that own key; deleting a missing key is a no-op.","Nested objects are merged recursively in Object.keys order; arrays and other non-objects replace.","Result objects are null-prototype copies. Inputs are not mutated.","Prototype-like names are ordinary own keys.","JSON numbers must be safe integers. Depth is at most 16 and at most 5000 own keys are visited per value."],"limits":{"max_depth":16,"max_own_keys_visited":5000,"max_output_bytes":1048576},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["target","patch"],"properties":{"target":true,"patch":true}},"output_schema":{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":true}},"examples":[{"input":{"target":{"title":"Goodbye!","author":{"givenName":"John","familyName":"Doe"},"tags":["example","sample"],"content":"This will be unchanged"},"patch":{"title":"Hello!","phoneNumber":"+01-123-456-7890","author":{"familyName":null},"tags":["example"]}},"output":{"value":{"title":"Hello!","author":{"givenName":"John"},"tags":["example"],"content":"This will be unchanged","phoneNumber":"+01-123-456-7890"}}}],"execute_url":"/v1/tools/json-merge-patch/versions/1.0.0/execute"}