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 m format data)
(decode m format data charset)
Decode data into the given format. Returns InputStream or throws.
Decode data into the given format. Returns InputStream 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 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.
(encode-collections _ response)
(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
(get-request-format-and-charset request)
(get-response-format-and-charset request)
(install options format)
(install options format name)
(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)
(muuntaja? x)
(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)
(select-formats options formats)
(set-response-content-type response content-type)
(slurp x)
(transform-formats options f)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close