json-patch
json-patch copied to clipboard
Ruby implementation of JSON Patch (identified by json-patch+json media type).
#12 Create a new errors class ```ruby PatchInvalidOperationError PatchMissingTargetObjectError PatchTestNotEqualError PatchMissingKeyError ``` Example: ```ruby operations = [{"op": "replace", "value": "BAZZ"}] item = {foo: "bazz"} JSON::Patch.new(item, operations).call # => JSON::PatchMissingKeyError (Missing...
With the invalid operation, missing document key or missing object key the error is the same `JSON::PatchError` Example: Missing document key `path` ```ruby operations = [{"op": "replace", "value": "BAZZ"}] item...
Hello, it is not what is the difference between the `json-patch` and `hana` gems. It would help if there is some description in README about that. I see that `hana`...
Fix for the CI problmes in https://github.com/guillec/json-patch/pull/9