Functions for working with query-strings in Clojure
Add the following dependency to your project.clj
file:
[query-string "0.1.0"]
(ns my.app
(:require [query-string.core :refer [create]]
[query-string.encode :refer [rfc3986]]))
(def default-encoded (create {:name "the günter"}))
;; > "name=the+g%C3%BCnter"
(def percent-encoded (create {:name "the günter"} rfc3986))
;; > "name=the%20g%C3%BCnter"
Copyright © 2016 Brian Scaturro
Distributed under the Eclipse Public License, the same as Clojure
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close