diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-25 21:07:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-25 21:07:22 +0900 |
| commit | 8263832eb8c23968f0cfea15b5cb1bfa3546d540 (patch) | |
| tree | 0285af48231c3f59db2f372a1947261f83fb2ee0 /src/jv | |
| parent | 7e516e5e083518f11a7399e895718572f7c7fb79 (diff) | |
| download | zgjq-8263832eb8c23968f0cfea15b5cb1bfa3546d540.tar.gz zgjq-8263832eb8c23968f0cfea15b5cb1bfa3546d540.tar.zst zgjq-8263832eb8c23968f0cfea15b5cb1bfa3546d540.zip | |
pretty-print results
Diffstat (limited to 'src/jv')
| -rw-r--r-- | src/jv/stringify.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jv/stringify.zig b/src/jv/stringify.zig index 341fed3..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, .{}); + return try std.json.Stringify.valueAlloc(allocator, value, .{ .whitespace = .indent_2 }); } |
