Simple utils to convert to and from jsonNode
Simple utils to convert to and from jsonNode
(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
(json-content-type? content-type)Returns true if content-type is application/json
Returns true if `content-type` is `application/json`
(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`
(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
(-json-node->clj node opts)(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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |