I hope this works

This commit is contained in:
Cameron Reed 2024-11-01 15:07:52 -06:00
parent affbb5568f
commit 5357d0a593

View File

@ -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;