ziglibs/tres
ValueTree-based JSON parser
std.json.parse
but on ValueTree
s. Stringify that supports Undefinedables, ArrayLists, and HashMaps.
parse
(std.json.Value -> T)stringify
(T -> []const u8)toValue
(T -> std.json.Value)All the above modes support std.json
standard features as well as:
tres_null_meaning
, see test "parse and stringify null meaning")tres_string_enum
, see test "json.stringify enums")tres_remap
, see test "remapping")MIT