gj
A fast, spec compliant, generic JSON parser and encoder in Gleam
Documentation
Quick start
in your rebar.config
deps section add:
{deps, [
gj
]]
import gj
// Decoding
> gj.decode("[1]")
Ok(Array([Number(1.0)]))
// Encoding
> gj.encode(Array([Number(1.0)]))
Ok("[1.0]")