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