From 099dae8feddcff6e671db1199a55d107bf97974e Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 31 May 2026 15:48:28 -0700 Subject: [PATCH] stringify: fix compile error in array branch --- json.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.zig b/json.zig index 6f71db15eb2f1f2ebc8abeb12a2b487b2c0bc244..6b8fb31f509331da35ef3adeda25103c7f7912a3 100644 --- a/json.zig +++ b/json.zig @@ -747,7 +747,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt } if (comptime extras.isArrayOf(u8)(T)) { if (extras.matchesAll(u8, &value, std.ascii.isAscii)) { - if (extras.matchesAll(u8, value, std.ascii.isPrint)) { + if (extras.matchesAll(u8, &value, std.ascii.isPrint)) { try writer.writevAll(&.{ &.{'"'}, &value, &.{'"'} }); } else { try writer.writeAll("\""); -- 2.54.0