A Mach library for JSON (RFC 8259) reading and writing.
Add the dependency to mach.toml:
[dep.json]
git = "https://github.com/briar-systems/mach-json"
ref = "branch/dev"Then bind the library in a source file:
use json;
After use json;, json.parse reads JSON text into a json.Value tree, and the writer functions such as json.write_value and json.object_begin emit JSON through a std.io.writer Writer.
See CONTRIBUTING.md for building, testing and the contribution rules.