public override void WriteEndArray(ObjectWriter writer) { writer.WriteEndArrayToken(); writer.PopState(); }
public override void WriteEndObject(ObjectWriter writer) { writer.WriteEndObjectToken(); writer.PopState(); // Auto-flush if (writer.State == InitialState.State) { writer.Flush(); } }