Liking cljdoc? Tell your friends :D

seql.coerce

Handling of field coercion for read/write

Handling of field coercion for read/write
raw docstring

-register-rw!clj

(-register-rw! type spec-key coercer)
source

edn-readerclj

(edn-reader x _)
source

edn-writerclj

(edn-writer x _)
source

readclj

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

read-mapclj

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

spec-registryclj

source

with-reader!clj

(with-reader! spec-key w)

Registers a reader for spec

Registers a reader for `spec`
sourceraw docstring

with-writer!clj

(with-writer! spec-key w)

Registers a writer for spec

Registers a writer for `spec`
sourceraw docstring

writeclj

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

write-mapclj

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

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

× close