internal void SetPostValueState(bool updateIndex) { if (Peek() != JsonContainerType.None) { _currentState = State.PostValue; } else { SetFinished(); } if (updateIndex) { UpdateScopeWithFinishedValue(); } }