(->vec obj pointer)
Convert JSON pointer to vector in the format accepted by get-in, assoc-in and update-in. Uses provided obj to ensure that any path (minus the last elements, as we need to allow adding new ones) traversed actually exists in the data structure, and will throw if not
Convert JSON pointer to vector in the format accepted by get-in, assoc-in and update-in. Uses provided obj to ensure that any path (minus the last elements, as we need to allow adding new ones) traversed actually exists in the data structure, and will throw if not
(apply-patch obj {:strs [op path value from] :as patch})
Applies single JSON patch operation on obj
Applies single JSON patch operation on obj
(patch obj patches)
Applies a series of JSON patch operations on obj
Applies a series of JSON patch operations on obj
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close