(add-patch-value obj path val)
Add val at path in obj
Add val at path in obj
(diff* obj1 obj2 prefix)
Prepares a JSON patch document representing the difference between two JSON objects.
Prepares a JSON patch document representing the difference between two JSON objects.
(get-patch-value obj path)
Given the patch path, find the associated value.
Given the patch path, find the associated value.
(get-value-path obj val)
(get-value-path obj val prefix)
Traverses obj, looking for a value that matches val, returns path to value.
Traverses obj, looking for a value that matches val, returns path to value.
(move-patch-value obj from path)
Move value located at 'from' to the 'path'.
Move value located at 'from' to the 'path'.
(remove-patch-value obj path)
Remove the value at 'path' from obj.
Remove the value at 'path' from obj.
(replace-patch-value obj path val)
Replace the value found at 'path' with that bound to 'val'.
Replace the value found at 'path' with that bound to 'val'.
(set-patch-value obj path val)
Set val at path in obj
Set val at path in obj
(test-patch-value obj path val)
Ensure that the value located at 'path' in obj is equal to 'val'.
Ensure that the value located at 'path' in obj is equal to 'val'.
(transform-moves obj1 obj2 patch)
Attempt to reconcile add/remove patch entries to a single move entry
Attempt to reconcile add/remove patch entries to a single move entry
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close