From 5357d0a593da9ee259ae7de57dba3d090e2112c8 Mon Sep 17 00:00:00 2001 From: Cameron Reed Date: Fri, 1 Nov 2024 15:07:52 -0600 Subject: [PATCH] I hope this works --- src/root.zig | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/root.zig b/src/root.zig index ecfeade..4c7fe9b 100644 --- a/src/root.zig +++ b/src/root.zig @@ -1,10 +1,9 @@ -const std = @import("std"); -const testing = std.testing; +const json = @import("json.zig"); -export fn add(a: i32, b: i32) i32 { - return a + b; -} - -test "basic add functionality" { - try testing.expect(add(3, 7) == 10); -} +pub const JSONError = json.JSONError; +pub const JSONType = json.JSONType; +pub const JSONObject = json.JSONObject; +pub const JSONValue = json.JSONValue; +pub const JSONStringValue = json.JSONStringValue; +pub const parseFile = json.parseFile; +pub const parseString = json.parseString;