Json5
Json5 in elixir.
NOTE
Currently the spec is not entirely implemented, for instance multiline string.
Usage
input = %{test: 1}
Json5.encode(input)input = """
{
test: 1
}
"""
Json5.decode(input)Installation
If available in Hex, the package can be installed
by adding json5 to your list of dependencies in mix.exs:
def deps do
[
{:json5, "~> 0.0.1"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/json5.