Liking cljdoc? Tell your friends :D

common-beer-format.core

A collection of handy functions to utilize the specs in this library

A collection of handy functions to utilize the specs in this library
raw docstring

conformclj/s

(conform spec data)

Conform data to a given spec while eliminating non-conforming keys and values

Conform `data` to a given `spec` while eliminating non-conforming keys and values
sourceraw docstring

emit-jsonclj/s

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

emit-xmlclj/s

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

parse-and-coerce-jsonclj/s

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

parse-and-coerce-xmlclj/s

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

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

× close