clojure
, clojurescript
, and data.json
as library dependencies.apply-value
function to support the following optional args:
:wildcard-append?
: Dictates if wildcard values should be appended to the end of existing seqs. Default false
. (NOTE: The new default constitutes a breaking change!):wildcard-limit
: Dictates how many wildcard paths should be generated. If it is not present then the entire coll gets overwritten at each wildcard location if wildcard-append?
is false
; if it's true
, 1 new path gets appended.apply-multi-value
that is similar to apply-value
, except that it must accept a collection of values
that will be applied in order. Returns the modified json
once values
or the available path seqs runs out. Also accepts :wildcard-append?
and wildcard-limit
.speculate-paths
function that acts like get-paths
but is not stopped by missing values. Also accepts :wildcard-append?
and :wildcard-limit
opt args.wildcard-append
and wildcard-limit
args to json-path/speculate-path-seqs
.pathetic.json-path
to pathetic.path
pathetic.path
to pathetic.parse
:
parse
, parse-first
, and related functions and varsis-parse-failure?
, test-strict-path
, and path->str
auxillary functions::parse-failure
and related Instaparse failure specs::illegal-path-element
exception message.path-spec
namespace and associated code.parse-path
to parse-paths
.:first?
and :strict?
.json-path.cljc
and json.cljc
."$"
)..clj
to .cljc
..cljc
-compatible).zip.clj
due to overhauling path enumeration algorithm.:first?
and :return-missing?
.path-to-spec
function.Can you improve this documentation? These fine people already did:
kelvinqian00 & Milt RederEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close