zig
zig copied to clipboard
std.json: support tuples
Adds support for parsing and stringifying between JSON arrays (which can contain multiple types) and Zig tuples.
This is my first PR to Zig itself, so any and all feedback is appreciated :)
Diff is more readable with whitespace changes hidden
You don't need the else block.