https://github.com/brianium/query-string
Functions for working with query strings in Clojure
https://github.com/brianium/query-string
Last synced: 11 months ago
JSON representation
Functions for working with query strings in Clojure
- Host: GitHub
- URL: https://github.com/brianium/query-string
- Owner: brianium
- License: epl-1.0
- Created: 2016-07-24T19:57:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-24T21:01:21.000Z (almost 10 years ago)
- Last Synced: 2025-06-29T06:05:54.382Z (12 months ago)
- Language: Clojure
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# query-string
[](https://clojars.org/query-string)
Functions for working with query-strings in Clojure
## Installation
Add the following dependency to your `project.clj` file:
```
[query-string "0.1.0"]
```
## Usage
```clojure
(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"
```
## License
Copyright © 2016 Brian Scaturro
Distributed under the Eclipse Public License, the same as Clojure