| author | |
| committer | |
| log | 78fa299e3169be7d30fdffec528b27fabab90928 |
| tree | a2018b7277a1fcfd8e669775bc9775a2860899df |
| parent | 8c0042bd1698f01d83dbddd65a75850090fdb577 |
| signature |
1 files changed, 4 insertions(+), 0 deletions(-)
ulid.zig+4| ... | ... | @@ -71,4 +71,8 @@ pub const ULID = struct { |
| 71 | 71 | pub fn nprint(self: ULID, writer: anytype) !void { |
| 72 | 72 | try writer.writeAll(&self.bytes()); |
| 73 | 73 | } |
| 74 | ||
| 75 | pub fn stringifyJson(self: ULID, writer: anytype, options: std.json.Stringify.Options, json: type) !void { | |
| 76 | return json.stringify(writer, &self.bytes(), options); | |
| 77 | } | |
| 74 | 78 | }; |