| author | |
| committer | |
| log | aec2392d2cbf58db2ab118643e3a20a36bbc3f8d |
| tree | 62be0a4e109c91f5ba8ef3c8a833d2e8e26c7a13 |
| parent | 45cba1a0038c96c3eca18ffff6f38ca50b053839 |
1 files changed, 5 insertions(+), 5 deletions(-)
json.zig+5-5| ... | ... | @@ -471,15 +471,15 @@ pub const NumberIndex = enum(u32) { |
| 471 | 471 | _, |
| 472 | 472 | }; |
| 473 | 473 | |
| 474 | pub const Value = union(enum) { | |
| 474 | pub const Value = union(enum(u8)) { | |
| 475 | 475 | zero, |
| 476 | 476 | null, |
| 477 | 477 | true, |
| 478 | 478 | false, |
| 479 | object, | |
| 480 | array, | |
| 481 | string, | |
| 482 | number, | |
| 479 | object: ObjectIndex, | |
| 480 | array: ArrayIndex, | |
| 481 | string: StringIndex, | |
| 482 | number: NumberIndex, | |
| 483 | 483 | |
| 484 | 484 | const Tag = std.meta.Tag(@This()); |
| 485 | 485 | }; |