authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-27 22:07:34 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-27 22:07:34 -07:00
logb7c42514db96ad9cb6d57c792499b5f92d516fa1
treee283b286c14286b7c49026232cd660af32f79550
parent72e555fbc0776f2600aee19b01e5ab1855ebec7a

run zig fmt


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

src/lib.zig+3-3
......@@ -4,8 +4,8 @@ pub const Value = union(enum) {
44 Object: []Member,
55 Array: []Value,
66 String: []const u8,
7 Int: i64,
8 Float: f64,
7 Int: i64,
8 Float: f64,
99 Bool: bool,
1010 Null: void,
1111
......@@ -143,7 +143,7 @@ const Parser = struct {
143143 std.fs.File.OpenError ||
144144 std.json.StreamingParser.Error ||
145145 std.mem.Allocator.Error ||
146 error{ Overflow } ||
146 error{Overflow} ||
147147 error{InvalidCharacter} ||
148148 error{ JsonExpectedObjKey, JsonExpectedValueStartGotEnd };
149149};