https://github.com/danhper/jsurl_ex
https://github.com/danhper/jsurl_ex
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danhper/jsurl_ex
- Owner: danhper
- Created: 2016-07-24T06:47:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-24T07:02:35.000Z (over 9 years ago)
- Last Synced: 2025-10-05T22:42:14.645Z (4 months ago)
- Language: Elixir
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JsurlEx
A module to encode/decode using [jsurl](https://github.com/Sage/jsurl) format.
NOTE: Only encoding is available now, as it is all I need for now,
I will work on decoding if someone needs it.
## Installation
Add `jsurl_ex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:jsurl_ex, "~> 0.1.0"}]
end
```
## Usage
```elixir
value = %{foo: "bar", bar: [1, 2, 3]}
JsurlEx.stringify(value) # => "~(bar~(~1~2~3)~foo~'bar)
```