Json5
Json5 in elixir.
Usage
input = %{test: 1}
Json5.encode(input)input = """
{
test: 1
}
"""
Json5.decode(input)For full examples and options go to the moduledocs: https://hexdocs.pm/json5
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.1.0"}
]
end