Liking cljdoc? Tell your friends :D
Clojure only.

everest.json.store.middleware


wrap-cheshire-jsonclj

(wrap-cheshire-json store opts)

Wraps the store into Json-serializing middleware using Cheshire.

Accepts the following parser options:

  • :parse-strict? - the parsing mode, if true (default) - top level arrays will not be parsed lazily
  • :key-fn - the function to be applied when deserializing object keys, defaults to keyword
  • :date-format - format string used for date serialization, defaults to yyyy-MM-dd'T'HH:mm:sss'Z'
Wraps the store into Json-serializing middleware using Cheshire.

Accepts the following parser options:

  * `:parse-strict?` - the parsing mode, if true (default) - top level arrays
    will not be parsed lazily
  * `:key-fn` - the function to be applied when deserializing object keys,
    defaults to `keyword`
  * `:date-format` - format string used for date serialization, defaults to
    `yyyy-MM-dd'T'HH:mm:sss'Z'`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close