Function beginObject [src]

Prototype

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

Parameters

self: *Stringify

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn beginObject(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(.object); self.next_punctuation = .none; }