(execute data query)(execute data query opts)Given a JSON data string (1) and a JQ query string (2)
returns a JSON string result of (2) applied on (1).
Output stream is joined with the new-line symbol.
Accepts optional options map.
NOTE: if your query doesn't change then use the processor.
Given a JSON data string (1) and a JQ query string (2) returns a JSON string result of (2) applied on (1). Output stream is joined with the new-line symbol. Accepts optional options map. NOTE: if your query doesn't change then use the `processor`.
(flexible-processor query)(flexible-processor query opts)Given a JQ query string (1) compiles it and returns a function that given a JsonNode object or a String (2) will return either a JSON string or json node with (1) applied on (2). Accepts optional options map.
Given a JQ query string (1) compiles it and returns a function that given a JsonNode object or a String (2) will return either a JSON string or json node with (1) applied on (2). Accepts optional options map.
(processor query)(processor query opts)Given a JQ query string (1) compiles it and returns a function that given a JSON string (2) will return a JSON string with (1) applied on (2). Output stream is joined with the new-line symbol. Accepts optional options map.
Given a JQ query string (1) compiles it and returns a function that given a JSON string (2) will return a JSON string with (1) applied on (2). Output stream is joined with the new-line symbol. Accepts optional options map.
(stream-processor query)(stream-processor query opts)Given a JQ query string (1) compiles it and returns a function that given
a JsonNode object will return an Collection.
Returning an Collection handles that a JQ script returns 0 or more JSON entities.
Accepts optional options map.
Given a JQ query string (1) compiles it and returns a function that given a JsonNode object will return an Collection. Returning an `Collection` handles that a JQ script returns 0 or more JSON entities. Accepts optional options map.
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 |