Skip to main content

write-handler-map

function

cognitect.transit/write-handler-map

(write-handler-map [custom-handlers])
Returns a HandlerMapContainer containing a WriteHandlerMap containing all the default handlers for Clojure and Java and any custom handlers that you supply, letting you store the return value and pass it to multiple invocations of writer. This can be more efficient than repeatedly handing the same raw map of types -> custom handlers to writer.

No examples yet. Be the first to add one!

Categories