Liking cljdoc? Tell your friends :D

s-exp.legba.json

Simple utils to convert to and from jsonNode

Simple utils to convert to and from jsonNode
raw docstring

clj->json-nodeclj

(clj->json-node x)

Takes a clj value and converts it to a Jackson JsonNode

Takes a clj value and converts it to a Jackson JsonNode
raw docstring

json-content-type?clj

(json-content-type? content-type)

Returns true if content-type is application/json

Returns true if `content-type` is `application/json`
raw docstring

json-mapper-defaultclj


json-node->cljclj

(json-node->clj node)
(json-node->clj node opts)

Takes a Jackson JsonNode returns an equivalent clj datastructure. :key-fn controls how map-entries keys are decoded, defaulting to keyword

Takes a Jackson JsonNode returns an equivalent clj datastructure.
`:key-fn` controls how map-entries keys are decoded, defaulting to `keyword`
raw docstring

json-node->strclj

(json-node->str json-node)

Takes a Jackson JsonNode and returns an equivalent String value

Takes a Jackson JsonNode and returns an equivalent String value
raw docstring

JsonNodeToCljcljprotocol

-json-node->cljclj

(-json-node->clj node opts)

set-mapper-defaults!clj

(set-mapper-defaults! object-mapper)

Sets sane defaults on jsonista, without this jsonista will do mad stuff such as serializing POJO fields as json attributes

Sets sane defaults on jsonista, without this jsonista will do mad stuff such as
serializing POJO fields as json attributes
raw docstring

str->json-nodeclj

(str->json-node json-str)

Takes a json-str String and returns a Jackson JsonNode

Takes a json-str String and returns a Jackson JsonNode
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close