Encode tasks as data that can be written as JSON, and decode them again
unchanged. Dates and times are ISO-8601 strings (see dgknght.json).
Keywords (like :status) are strings and sets (like :categories) are
arrays.
Encode tasks as data that can be written as JSON, and decode them again unchanged. Dates and times are ISO-8601 strings (see `dgknght.json`). Keywords (like :status) are strings and sets (like :categories) are arrays.
(decode task)The task encoded by encode, as read back from JSON with string keys.
The task encoded by `encode`, as read back from JSON with string keys.
(encode task)The task as JSON-ready data: a map with only the keys of the :dgknght.tasks/task spec, whose dates and times are ISO-8601 strings, keywords strings and sets sorted vectors.
The task as JSON-ready data: a map with only the keys of the :dgknght.tasks/task spec, whose dates and times are ISO-8601 strings, keywords strings and sets sorted vectors.
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 |