(->JsonNode)(->JsonNode mapper)Returns a transducer that given a Java object maps it to a JsonNode. Accepts an optional Jackson ObjectMapper.
Returns a transducer that given a Java object maps it to a JsonNode. Accepts an optional Jackson ObjectMapper.
(execute expression)(execute expression opts)Returns a transducer that accepts JsonNode on which
the expression will be applied.
Optional opts are supported that are passed for the jq.api/stream-processor.
Specific opts for the transducer:
:cat - whether to catenate output, default true
Returns a transducer that accepts JsonNode on which the expression will be applied. Optional opts are supported that are passed for the `jq.api/stream-processor`. Specific opts for the transducer: :cat - whether to catenate output, default true
(JsonNode->value)(JsonNode->value mapper)Returns a transducer that give a JsonNode maps it to a Java Object. Accepts an optional Jackson ObjectMapper.
Returns a transducer that give a JsonNode maps it to a Java Object. Accepts an optional Jackson ObjectMapper.
(parse)(parse mapper)Returns a transducer that given a JSON String parses it into a JsonNode. Accepts an optional Jackson ObjectMapper.
Returns a transducer that given a JSON String parses it into a JsonNode. Accepts an optional Jackson ObjectMapper.
(pretty-print)(pretty-print mapper)Same as the serializer but the output string is indented.
ObjectMapper is copied to prevent side effects in case mapper is shared.
Same as the `serializer` but the output string is indented. ObjectMapper is copied to prevent side effects in case mapper is shared.
(process expression)(process expression opts)(process expression opts mapper)Returns a convenience transducer that:
jq.api/stream-processor
Accepts a Jackson ObjectMapper that will be used for bothReturns a convenience transducer that: - maps a Java Object to a JsonNode; - maps a JQ expression on the JsonNode; - catenates the output; - maps a JsonNode to a JavaObject. Accept opts that will be passed to the `jq.api/stream-processor` Accepts a Jackson ObjectMapper that will be used for both
(rdr->json-nodes)(rdr->json-nodes mapper)Returns a transducer that given a java.io.Reader parses it into a stream of JsonNode. Accepts an optional Jackson ObjectMapper.
Returns a transducer that given a java.io.Reader parses it into a stream of JsonNode. Accepts an optional Jackson ObjectMapper.
(serialize)(serialize mapper)Returns a transducer that given a JsonNode serializes it to a String. Accepts an optional Jackson ObjectMapper.
Returns a transducer that given a JsonNode serializes it to a String. Accepts an optional Jackson ObjectMapper.
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 |