UnityEditorInternal.JSONParser.Next C# (CSharp) Method

Next() private method

private Next ( ) : char
return char
        private char Next()
        {
            if (this.cur == '\n')
            {
                this.line++;
                this.linechar = 0;
            }
            this.idx++;
            if (this.idx >= this.len)
            {
                throw new JSONParseException("End of json while parsing at " + this.PosMsg());
            }
            this.linechar++;
            int num = (int) ((this.idx * 100f) / ((float) this.len));
            if (num != this.pctParsed)
            {
                this.pctParsed = num;
            }
            this.cur = this.json[this.idx];
            return this.cur;
        }