An open API service indexing awesome lists of open source software.

https://github.com/marcelog/jsonex

An elixir module to wrap jsonerl
https://github.com/marcelog/jsonex

Last synced: 8 months ago
JSON representation

An elixir module to wrap jsonerl

Awesome Lists containing this project

README

          

# Jsonex

An [elixir](http://elixir-lang.org/) module to wrap [jsx](https://github.com/talentdeficit/jsx).

See [expm homepage](http://expm.co/jsonex) for jsonex.

# Use example

## Encoding

$ mix run 'IO.puts Jsonex.encode([a: 1, b: 2])'
{"a":1,"b":2}

## Decoding

mix run 'IO.inspect Jsonex.decode("{\"a\": 1, \"b\": 2}")'
[{"a",1},{"b",2}]

# License
This software is under the Apache 2 License. See the **LICENSE** file for more details.