Liking cljdoc? Tell your friends :D
Clojure only.

dgknght.memos.json

Encode memos 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 memos 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 memo)

The memo encoded by encode, as read back from JSON with string keys.

The memo encoded by `encode`, as read back from JSON with string keys.
raw docstring

encodeclj

(encode memo)

The memo as JSON-ready data: a map with only the keys of the :dgknght.memos/memo spec, whose dates and times are ISO-8601 strings, keywords strings and sets sorted vectors.

The memo as JSON-ready data: a map with only the keys of the
:dgknght.memos/memo 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