Liking cljdoc? Tell your friends :D

com.yetanalytics.datasim.json.path


apply-valuesclj

(apply-values json path values & {:keys [enum-limit]})

Given json data, path and values, apply them to the structure. If there is no place to put a value, enumerate further possible paths and use those.

Given json data, path and values, apply them to the structure.
If there is no place to put a value, enumerate further possible paths and use
those.
sourceraw docstring

child-dotclj

Stupid dot syntax

Stupid dot syntax
sourceraw docstring

child-normalclj

Normal bracket-style child

Normal bracket-style child
sourceraw docstring

discrete?clj

(discrete? path)

Is the path free of wildcards?

Is the path free of wildcards?
sourceraw docstring

enumerateclj

(enumerate path & {:keys [limit]})

Given a json path, return a lazy seq of concrete key paths. wildcards/ranges will be enumerated up to :limit, which defaults to 10

Given a json path, return a lazy seq of concrete key paths. wildcards/ranges
will be enumerated up to :limit, which defaults to 10
sourceraw docstring

escaped-byclj

(escaped-by c & [charset-p])
source

escaped-charclj

source

exciseclj

(excise json path & {:keys [prune-empty?]})

Given json data and a parsed path, return the data without the selection, and any empty container. If :prune-empty? is true, will remove empty arrays and maps

Given json data and a parsed path, return the data without the selection, and
any empty container.
If :prune-empty? is true, will remove empty arrays and maps
sourceraw docstring

indexclj

source

index-rangeclj

source

json-keyclj

source

json-key-litclj

source

json-pathclj

source

max-long-strclj

source

parseclj

(parse path)

Given a JSON-path, parse it into data

Given a JSON-path, parse it into data
sourceraw docstring

path-seqclj

(path-seq json path)
source

path-seq*clj

(path-seq* json path)
source

range-spec?clj

(range-spec? item)
source

rootclj

source

safe-charclj

source

selectclj

(select json path)

Given json data and a parsed path, return a selection vector.

Given json data and a parsed path, return a selection vector.
sourceraw docstring

select-pathsclj

(select-paths json path)

Given json data and a parsed path, return a selection map of key paths to values

Given json data and a parsed path, return a selection map of key paths to values
sourceraw docstring

union-of1clj

(union-of1 p)

A comma separated union of at least 1 of something. Returns a set.

A comma separated union of at least 1 of something.
Returns a set.
sourceraw docstring

wildcardclj

source

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

× close