Set of recognised charsets by the current JVM
Set of recognised charsets by the current JVM
(charsets m)
Set of charsets that the Muuntaja instance can handle
Set of charsets that the Muuntaja instance can handle
(create)
(create muuntaja-or-options)
Creates a new Muuntaja intance from a given prototype:
Creates a new Muuntaja intance from a given prototype: - existing Muuntaja (no-op) - options-map (new created) - nothing (new created with default-options)
(decode format data)
(decode m format data)
(decode m format data charset)
Decode data into the given format. Returns Clojure Data or throws.
Decode data into the given format. Returns Clojure Data or throws.
(decode-response-body response)
(decode-response-body m response)
Decode response :body using the format defined by "Content-Type" header. Returns Clojure Data or throws.
Decode response :body using the format defined by "Content-Type" header. Returns Clojure Data or throws.
(decodes m)
Set of formats that the Muuntaja instance can decode
Set of formats that the Muuntaja instance can decode
(default-charset m)
Default charset of the Muuntaja instance
Default charset of the Muuntaja instance
(default-format m)
Default format of the Muuntaja instance
Default format of the Muuntaja instance
(encode format data)
(encode m format data)
(encode m format data charset)
Encode data into the given format. Returns InputStream or throws.
Encode data into the given format. Returns InputStream or throws.
(encodes m)
Set of formats that the Muuntaja instance can encode
Set of formats that the Muuntaja instance can encode
(extract-accept-charset-ring request)
Extracts accept-charset from ring-request.
Extracts accept-charset from ring-request.
(extract-accept-ring request)
Extracts accept from ring-request.
Extracts accept from ring-request.
(extract-content-type-ring request)
Extracts content-type from ring-request.
Extracts content-type from ring-request.
(formats m)
Set of formats that the Muuntaja instance can decode or encode
Set of formats that the Muuntaja instance can decode or encode
(matchers m)
Map of format->regexp that the Muuntaja instance knows
Map of format->regexp that the Muuntaja instance knows
(adapters this)
(decoder this format)
(encoder this format)
(options this)
(format-request this request)
(format-response this request response)
(negotiate-and-format-request this request)
(negotiate-request-response this request)
(request-format this request)
(response-format this request)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close