(write-str x)
(write-str x
{:keys [handlers default-handler write-meta?]
:or {write-meta? true}})
(writer out type)
(writer out type {:keys [handlers default-handler transform]})
Creates a writer over the provided destination out
using
the specified format, one of: :msgpack, :json or :json-verbose.
An optional opts map may be passed. Supported options are:
:handlers - a map of types to WriteHandler instances, they are merged
with the default-handlers and then with the default handlers
provided by transit-java.
:transform - a function of one argument that will transform values before
they are written.
Creates a writer over the provided destination `out` using the specified format, one of: :msgpack, :json or :json-verbose. An optional opts map may be passed. Supported options are: :handlers - a map of types to WriteHandler instances, they are merged with the default-handlers and then with the default handlers provided by transit-java. :transform - a function of one argument that will transform values before they are written.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close