/// <inheritdoc/> public ObjectWriter Object() { BeforeValue(); _tw.StartObject(); var previousState = _state; _state = new WriterState { InArray = false }; return(new ObjectWriter(this, previousState)); }