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;