Liking cljdoc? Tell your friends :D

com.wsscode.transito


cljs-write-handlerscljs

source

envelope-jsoncljs

(envelope-json msg)
source

read-strclj/s

(read-str s)
(read-str s options)
source

unknown-default-handlerclj/s

source

unpack-jsoncljs

(unpack-json msg)
source

write-strclj/s

(write-str x)
(write-str x
           {:keys [handlers default-handler write-meta?]
            :or {write-meta? true}})
source

writerclj

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

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

× close