commit 4f4afe186d854fb81aca7db4862c366271f24d06 (tree)
parent 698c52e7961a78e68be39f4a6216f5c3d55f4f3f
Author: Marc Tiehuis <marctiehuis@gmail.com>
Date: Tue, 22 May 2018 15:34:17 +1200
Make JsonParser public
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/json.zig b/std/json.zig
@@ -1053,7 +1053,7 @@ pub const Value = union(enum) {
};
// A non-stream JSON parser which constructs a tree of Value's.
-const JsonParser = struct {
+pub const JsonParser = struct {
allocator: &Allocator,
state: State,
copy_strings: bool,