std.serde
JSON to and from any value via type_info; no per-type code
to_json
Section titled “to_json”pub to_json :: fn($T: type, v: T, a: *Arena) -> []const u8JSON string in a
from_json
Section titled “from_json”pub from_json :: fn($T: type, text: []const u8, a: *Arena) -> ?Tnull on a parse error; strings and arrays live in a