Liking cljdoc? Tell your friends :D

yuhrao.serdes.core.content-negotiation


decodeclj

(decode format v)
(decode muuntaja format v)

Decode various formats into a clojure value (usually a collection)

Decode various formats into a clojure value (usually a collection)
raw docstring

encodeclj

(encode format v)
(encode muuntaja format v)

Encode a value into a specified format (e.g. application/json)

Encode a value into a specified format (e.g. application/json)
raw docstring

extract-acceptclj

(extract-accept req)
(extract-accept req not-found)

Extract accept from request. If it's not present, defaults to application/json

Extract accept from request.
If it's not present, defaults to application/json
raw docstring

extract-content-typeclj

(extract-content-type req-or-res)
(extract-content-type req-or-res not-found)

Extract content type from request or response. If it's not present, defaults to application/json

Extract content type from request or response.
If it's not present, defaults to application/json
raw docstring

mime-typesclj


muuntajaclj

(muuntaja)

Gets the default muuntaja instance for content negotiation

Gets the default muuntaja instance for content negotiation
raw docstring

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

× close