zig icon indicating copy to clipboard operation
zig copied to clipboard

std.json: support tuples

Open JerwuQu opened this issue 2 years ago • 1 comments

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 :)

JerwuQu avatar Mar 08 '23 15:03 JerwuQu

Diff is more readable with whitespace changes hidden

You don't need the else block.

Vexu avatar Mar 08 '23 15:03 Vexu