Liking cljdoc? Tell your friends :D
All platforms.

clj-json-pointer.core


->vecclj/s

(->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
raw docstring

apply-patchclj/s

(apply-patch obj {:strs [op path value from] :as patch})

patchclj/s

(patch obj patches)

Applies a series of JSON patch operations on obj

Applies a series of JSON patch operations on obj
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close