aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jv/stringify.zig
blob: 341fed33a9ce6cd5727a337a11da35141cb86c83 (plain)
1
2
3
4
5
6
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, .{});
}