UnityEditorInternal.JSONParser.ParseConstant C# (CSharp) Method

ParseConstant() private method

private ParseConstant ( ) : UnityEditorInternal.JSONValue
return UnityEditorInternal.JSONValue
        private JSONValue ParseConstant()
        {
            string str = "";
            object[] objArray1 = new object[] { "", this.cur, this.Next(), this.Next(), this.Next() };
            str = string.Concat(objArray1);
            this.Next();
            switch (str)
            {
                case "true":
                    return new JSONValue(true);

                case "fals":
                    if (this.cur == 'e')
                    {
                        this.Next();
                        return new JSONValue(false);
                    }
                    break;

                case "null":
                    return new JSONValue(null);
            }
            throw new JSONParseException("Invalid token at " + this.PosMsg());
        }