JsonWriter

fixed struct JsonWriter

Writes JSON text to a CharWriter with optional compact or pretty formatting.

Lifecycle members

constructor

Creates a JSON writer that writes to the supplied CharWriter.

Instance fields

nuint
JsonFormat
JsonWriterFrame[32]
CharWriter

Instance members

void
write(...)
overload

Writes an integer value.

void

Ends the current array value.

void

Starts an array value.

void

Writes an already-escaped JSON string body with surrounding quotes.

void

Writes a property name, escaping it for JSON.

void

Writes an already-escaped JSON property name.

void

Writes a null value.

void

Ends the current object value.

void

Starts an object value.

Generated with campc 0.11.0-preview.1.