query-map
/ query-string->map
: when called with an :into
collection, and
no query params are present, then return the :into
collection, rather than
nil
. If no explicit :into
collection is provided, then retain the existing
behavior of returning nil
on blank input.query-string->seq
, seq->query-string
.query-map
/query-string->map
: return :into
value on blank input=
characters:into
option to define custom clojure.lang.IPersistentMap
target data structure for lambdaisland.uri/query-string->map
normalize/char-seq
for really large query parameter
valuestoString
on Babashka (requires recent bb
)lambdaisland.uri.normalize/normalize-query
which did
not take into account utf-16 encoding.lambdaisland.uri.normalize/normalize
now also normalizes the fragment.uri-str
as an explicit lambdaisland.uri.URI
to string conversionURI
back to a string needs to be
done explicitly with uri-str
, and it is not possible to use a URI as a
function. ((:path uri)
is ok, (uri :path)
is not).uri?
predicate.+
as space, so the conversion between maps and
query strings correctly round trips.lambdaisland.uri.platform/string->byte-seq
return unsigned bytes on
both plaforms (clj/cljs)assoc-query
/ query-encode
encode spaces as "+" rather than "%20",
which brings it in line to how most languages/libraries do it.query-string->map
,
map->query-string
, query-map
, query-encode
, assoc-query
,
assoc-query*
.=
and +
there is a semantic difference between the encoded and decoded form, when they
are encoded in the input normalization should not decode them and vice versalambdaisland.uri.normalize/normalize
, for normalizing URI instances.absolute?
and relative?
uri
, join
, coerce
, parse
, edn-readers
Can you improve this documentation? These fine people already did:
Arne Brasseur, Mitesh Shah, Mark Wardle, velios, Ilmo Raunio, Edward Kimber, FiV0 & Andrey AntukhEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close