toJSON
Returns a string representing this month-day in RFC 9557 format (ISO 8601).
Parameters
- self:PlainMonthDay
- PlainMonthDay
- allocator:std.mem.Allocator
- std.mem.Allocator
Source
Implementation
pub fn toJSON(self: PlainMonthDay, allocator: std.mem.Allocator) ![]u8 {
return toString(self, allocator);
}