Reading and changing values inside EDN files.
Reading and changing values inside EDN files.
(edn)(edn {:keys [root writable?] :as opts})Read and update values inside EDN files - deps.edn, config files, anything. Cheaper and safer than having the model rewrite a whole file to change one value. Options: :root confine every path to this directory (default: unrestricted) :writable? add set_edn and delete_edn (default false)
Paths into the data are given as a JSON array of EDN-read elements, so ":server" is the keyword :server and "0" is a vector index.
Read and update values inside EDN files - deps.edn, config files, anything. Cheaper and safer than having the model rewrite a whole file to change one value. Options: :root confine every path to this directory (default: unrestricted) :writable? add set_edn and delete_edn (default false) Paths into the data are given as a JSON array of EDN-read elements, so ":server" is the keyword :server and "0" is a vector index.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |