Currently we are missing docs on how to use default read/write handlers. Also the current implementation only accepts "default" as string, not :default.
In case someone gets here by looking for how to make default handlers, here is some sample code:
; default write
(deftype DefaultHandler []
Object
(tag [this v] "unknown")
(rep [this v] (pr-str v)))
(def write-handlers
{"default" (DefaultHandler.)})
Currently we are missing docs on how to use default read/write handlers. Also the current implementation only accepts
"default"as string, not:default.In case someone gets here by looking for how to make default handlers, here is some sample code: