A collection of handy functions to utilize the specs in this library
A collection of handy functions to utilize the specs in this library
(emit-json cbf-data cbf-spec)
Encode cbf-data
as an instance of cbf-spec
and return the equivalent json
Encode `cbf-data` as an instance of `cbf-spec` and return the equivalent json
(emit-xml cbf-data cbf-spec)
Encode cbf-data
as an instance of cbf-spec
and return the equivalent XML
Encode `cbf-data` as an instance of `cbf-spec` and return the equivalent XML
(parse-and-coerce-json json-blob cbf-spec)
Parse the string json-blob
and decode it as an instance of cbf-spec
Parse the string `json-blob` and decode it as an instance of `cbf-spec`
(parse-and-coerce-xml xml-doc cbf-spec)
Parse the string xml-doc
and decode it as an instance of cbf-spec
Parse the string `xml-doc` and decode it as an instance of `cbf-spec`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close