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
sourceraw docstring

apply-patchclj/s

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

Applies single JSON patch operation on obj

Applies single JSON patch operation on obj
sourceraw docstring

patchclj/s

(patch obj patches)

Applies a series of JSON patch operations on obj

Applies a series of JSON patch operations on obj
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close