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