authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-06-01 05:57:24 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-06-01 05:57:24 -07:00
logaec2392d2cbf58db2ab118643e3a20a36bbc3f8d
tree62be0a4e109c91f5ba8ef3c8a833d2e8e26c7a13
parent45cba1a0038c96c3eca18ffff6f38ca50b053839

fill out this union


1 files changed, 5 insertions(+), 5 deletions(-)

json.zig+5-5
......@@ -471,15 +471,15 @@ pub const NumberIndex = enum(u32) {
471471 _,
472472};
473473
474pub const Value = union(enum) {
474pub const Value = union(enum(u8)) {
475475 zero,
476476 null,
477477 true,
478478 false,
479 object,
480 array,
481 string,
482 number,
479 object: ObjectIndex,
480 array: ArrayIndex,
481 string: StringIndex,
482 number: NumberIndex,
483483
484484 const Tag = std.meta.Tag(@This());
485485};