Liking cljdoc? Tell your friends :D

jq.core


compile-queryclj

(compile-query query)

Compiles a JQ query string into a JsonQuery object.

Compiles a JQ query string into a JsonQuery object.
sourceraw docstring

executeclj

(execute data query)

Given a JSON data string (1) and a JQ query string (2) returns a JSON string result of (2) applied on (1).

Given a JSON data string (1) and a JQ query string (2)
returns a JSON string result of (2) applied on (1).
sourceraw docstring

jq-versionclj

source

json-node-processorclj

(json-node-processor query)

Given a JQ query string (2) compiles it and returns a function that given a JsonNode object (2) will return a JSON string with (1) applied on (2).

Given a JQ query string (2) compiles it and returns a function that given
a JsonNode object (2) will return a JSON string with (1) applied on (2).
sourceraw docstring

mapperclj

source

processorclj

(processor query)

Given a JQ query string (2) compiles it and returns a function that given a JSON string (2) will return a JSON string with (1) applied on (2).

Given a JQ query string (2) compiles it and returns a function that given
a JSON string (2) will return a JSON string with (1) applied on (2).
sourceraw docstring

query-dataclj

(query-data data query)

Reads data JSON string into a JsonNode and passes to the query executor.

Reads data JSON string into a JsonNode and passes to the query executor.
sourceraw docstring

query-json-nodeclj

(query-json-node data query)

Given a JSON data string and a JsonQuery object applies the query on the JSON data string and return the resulting JSON string.

Given a JSON data string and a JsonQuery object applies the query
on the JSON data string and return the resulting JSON string.
sourceraw docstring

root-scopeclj

Scope that contains all the available Builtin functions.

Scope that contains all the available Builtin functions.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close