Skip to main content

add-encoder

function

cheshire.generate/add-encoder

(add-encoder [cls encoder])
Provide an encoder for a type not handled by Cheshire. ex. (add-encoder java.net.URL encode-string) See encode-str, encode-map, etc, in the cheshire.custom namespace for encoder examples.

No examples yet. Be the first to add one!