authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-06-01 05:58:45 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-06-01 05:58:45 -07:00
log23f74f55c3bab1fb1128e92142b2f676eabe75dd
tree56b6a4bb821c6260bbbc4e08379290ed37331547
parent9fc84b75957900dda6dcc3714eb4406725c21cb7

move this up


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

json.zig+13-13
......@@ -470,6 +470,19 @@ pub const ValueIndex = enum(u32) {
470470 _,
471471};
472472
473pub const Value = union(enum(u8)) {
474 zero,
475 null,
476 true,
477 false,
478 object: ObjectIndex,
479 array: ArrayIndex,
480 string: StringIndex,
481 number: NumberIndex,
482
483 const Tag = std.meta.Tag(@This());
484};
485
473486pub const StringIndex = enum(u32) {
474487 _,
475488};
......@@ -485,16 +498,3 @@ pub const ObjectIndex = enum(u32) {
485498pub const NumberIndex = enum(u32) {
486499 _,
487500};
488
489pub const Value = union(enum(u8)) {
490 zero,
491 null,
492 true,
493 false,
494 object: ObjectIndex,
495 array: ArrayIndex,
496 string: StringIndex,
497 number: NumberIndex,
498
499 const Tag = std.meta.Tag(@This());
500};