Handling of field coercion for read/write
Handling of field coercion for read/write
(read k v)
Infer from specs+ reader registry now to read value of attribute k
Infer from specs+ reader registry now to read value of attribute `k`
(read-map m)
Read all fields of a map with read
. Keys need to have a corresponding
spec and optional reader attached for any coercion to be performed.
Read all fields of a map with `read`. Keys need to have a corresponding spec and optional reader attached for any coercion to be performed.
(with-reader! spec-key w)
Registers a reader for spec
Registers a reader for `spec`
(with-writer! spec-key w)
Registers a writer for spec
Registers a writer for `spec`
(write k v)
Infer from field spec if we need to use ::overrides or just a predicate registered transform. Suports Set spec types inference and nilables
Infer from field spec if we need to use ::overrides or just a predicate registered transform. Suports Set spec types inference and nilables
(write-map m)
Transform all fields of a map with write
. Keys need to have a corresponding
spec and optional reader attached for any coercion to be performed.
Transform all fields of a map with `write`. Keys need to have a corresponding spec and optional reader attached for any coercion to be performed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close