Liking cljdoc? Tell your friends :D
Clojure only.

dgknght.tasks.json

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

decodeclj

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

encodeclj

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