Function beginArray [src]

Prototype

pub fn beginArray(self: *Stringify) Error!void

Parameters

self: *Stringify

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn beginArray(self: *Stringify) Error!void { if (build_mode_has_safety) assert(self.raw_streaming_mode == .none); try self.valueStart(); try self.writer.writeByte('['); try self.pushIndentation(.array); self.next_punctuation = .none; }