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) {...@@ -471,15 +471,15 @@ pub const NumberIndex = enum(u32) {
471 _,471 _,
472};472};
473473
474pub const Value = union(enum) {474pub const Value = union(enum(u8)) {
475 zero,475 zero,
476 null,476 null,
477 true,477 true,
478 false,478 false,
479 object,479 object: ObjectIndex,
480 array,480 array: ArrayIndex,
481 string,481 string: StringIndex,
482 number,482 number: NumberIndex,
483483
484 const Tag = std.meta.Tag(@This());484 const Tag = std.meta.Tag(@This());
485};485};