Keep memos in a single JSON file, through dgknght.json-file.
A service's config is a :dgknght.json-file/config with a
:dgknght.memos/provider of ::json-file. The file holds a JSON array of
memos, one object per memo with the keys of the :dgknght.memos/memo spec
(other keys aren't saved), encoded as described in dgknght.memos.json.
Changes made through one service are serialized, but share one service per
file. Failures throw as described in dgknght.json-file.
Keep memos in a single JSON file, through `dgknght.json-file`. A service's config is a `:dgknght.json-file/config` with a :dgknght.memos/provider of ::json-file. The file holds a JSON array of memos, one object per memo with the keys of the `:dgknght.memos/memo` spec (other keys aren't saved), encoded as described in `dgknght.memos.json`. Changes made through one service are serialized, but share one service per file. Failures throw as described in `dgknght.json-file`.
No vars found in this namespace.
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 |