cognitect.transit
D
Returns a map of default WriteHandlers for Clojure types. Java types are handled by the default WriteHandlers prov...
value
R
Reads a value from a reader. Throws a RuntimeException when the reader's InputStream is empty.
function([reader])
Creates a transit ReadHandler whose fromRep method invokes the provided fn.
function([from-rep])
Returns a HandlerMapContainer containing a ReadHandlerMap containing all the default handlers for Clojure and Java and...
function([custom-handlers])
Creates a reader over the provided source `in` using the specified format, one of: :msgpack, :json or :json-verbose. ...
function([in type] [in type {:keys [handlers default-handler]}])
T
Creates a TaggedValue object.
function([tag rep])
W
Writes a value to a transit writer.
function([writer o])
Creates a transit WriteHandler whose tag, rep, stringRep, and verboseWriteHandler methods invoke the provided fns....
function([tag-fn rep-fn] [tag-fn rep-fn str-rep-fn] [tag-fn rep-fn str-rep-fn verbose-handler-fn])
Returns a HandlerMapContainer containing a WriteHandlerMap containing all the default handlers for Clojure and Java an...
function([custom-handlers])
For :transform. Will write any metadata present on the value.
function([x])
Creates a writer over the provided destination `out` using the specified format, one of: :msgpack, :json or :json-ver...
function([out type] [out type {:keys [handlers default-handler transform]}])