authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 15:48:28 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 15:48:28 -07:00
log099dae8feddcff6e671db1199a55d107bf97974e
treef26f0b0e0adf6a1b53d216c4cb3ada140d2a2a77
parentb59bb17dcf799d5ed1a55377bbeaed21e3680407
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

stringify: fix compile error in array branch


1 files changed, 1 insertions(+), 1 deletions(-)

json.zig+1-1
......@@ -747,7 +747,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt
747747 }
748748 if (comptime extras.isArrayOf(u8)(T)) {
749749 if (extras.matchesAll(u8, &value, std.ascii.isAscii)) {
750 if (extras.matchesAll(u8, value, std.ascii.isPrint)) {
750 if (extras.matchesAll(u8, &value, std.ascii.isPrint)) {
751751 try writer.writevAll(&.{ &.{'"'}, &value, &.{'"'} });
752752 } else {
753753 try writer.writeAll("\"");