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