| ... | ... | @@ -719,7 +719,7 @@ const Space = union(enum) { |
| 719 | 719 | } |
| 720 | 720 | }; |
| 721 | 721 | |
| 722 | | pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOptions) extras.Pointee(@TypeOf(writer)).WriteError!void { |
| 722 | pub fn stringify(writer: anytype, value: anytype, options: std.json.Stringify.Options) extras.Pointee(@TypeOf(writer)).WriteError!void { |
| 723 | 723 | const T = @TypeOf(value); |
| 724 | 724 | if (comptime extras.isZigString(T)) { |
| 725 | 725 | if (extras.matchesAll(u8, value, std.ascii.isAscii)) { |
| ... | ... | @@ -795,7 +795,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt |
| 795 | 795 | } |
| 796 | 796 | } |
| 797 | 797 | |
| 798 | | pub fn stringifyAlloc(allocator: std.mem.Allocator, value: anytype, options: std.json.StringifyOptions) ![]u8 { |
| 798 | pub fn stringifyAlloc(allocator: std.mem.Allocator, value: anytype, options: std.json.Stringify.Options) ![]u8 { |
| 799 | 799 | var writer: nio.AllocatingWriter = .init(allocator); |
| 800 | 800 | defer writer.deinit(); |
| 801 | 801 | try writer.ensureUnusedCapacity(256); |