aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jv/stringify.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/jv/stringify.zig')
-rw-r--r--src/jv/stringify.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jv/stringify.zig b/src/jv/stringify.zig
index 0fc40a7..b553c6b 100644
--- a/src/jv/stringify.zig
+++ b/src/jv/stringify.zig
@@ -2,5 +2,5 @@ const std = @import("std");
const Value = @import("./value.zig").Value;
pub fn stringify(allocator: std.mem.Allocator, value: Value) ![]u8 {
- return try std.json.Stringify.valueAlloc(allocator, value._internal, .{ .whitespace = .indent_2 });
+ return try std.json.Stringify.valueAlloc(allocator, value, .{ .whitespace = .indent_2 });
}