| ... | @@ -747,7 +747,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt | ... | @@ -747,7 +747,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt |
| 747 | } | 747 | } |
| 748 | if (comptime extras.isArrayOf(u8)(T)) { | 748 | if (comptime extras.isArrayOf(u8)(T)) { |
| 749 | if (extras.matchesAll(u8, &value, std.ascii.isAscii)) { | 749 | 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)) { |
| 751 | try writer.writevAll(&.{ &.{'"'}, &value, &.{'"'} }); | 751 | try writer.writevAll(&.{ &.{'"'}, &value, &.{'"'} }); |
| 752 | } else { | 752 | } else { |
| 753 | try writer.writeAll("\""); | 753 | try writer.writeAll("\""); |