Erljson - Erlang json parser

A JSON parser from json (binary) to erlang maps. This is a pretty simple implementation of https://tools.ietf.org/html/rfc7159

Usage

Erljson has a very simple api. For example decode/1 accepts binary and returns map in case valid json binary provided. On other hand encode/1 accepts map and returns json binary.

erljson:decode

note on decode

In case invalid json provided decode throws exception containing following tuple : throw({error, invalid_json, Binary}). Where Binary is the one which was passed as an argument to decode.

erljson:encode

Todo