Example #1
0
        private void EndArray()
        {
            var res = _isInObject.Pop();

            if (res)
            {
                throw new FormatException("Expected object end but found an end of array.");
            }
            _reader.OnEndArray();
            _currentHandler = NextAttributeOrEndOfObject;
        }