| ... | ... | @@ -4,8 +4,8 @@ pub const Value = union(enum) { |
| 4 | 4 | Object: []Member, |
| 5 | 5 | Array: []Value, |
| 6 | 6 | String: []const u8, |
| 7 | | Int: i64, |
| 8 | | Float: f64, |
| 7 | Int: i64, |
| 8 | Float: f64, |
| 9 | 9 | Bool: bool, |
| 10 | 10 | Null: void, |
| 11 | 11 | |
| ... | ... | @@ -143,7 +143,7 @@ const Parser = struct { |
| 143 | 143 | std.fs.File.OpenError || |
| 144 | 144 | std.json.StreamingParser.Error || |
| 145 | 145 | std.mem.Allocator.Error || |
| 146 | | error{ Overflow } || |
| 146 | error{Overflow} || |
| 147 | 147 | error{InvalidCharacter} || |
| 148 | 148 | error{ JsonExpectedObjKey, JsonExpectedValueStartGotEnd }; |
| 149 | 149 | }; |