static object ParseValue()

in Source/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs [766:792]


        static object ParseValue(char[] json, ref int index, ref bool success)
        {
            switch (LookAhead(json, index))
            {
                case TokenType.STRING:
                    return ParseString(json, ref index, ref success);
                case TokenType.NUMBER:
                    return ParseNumber(json, ref index, ref success);
                case TokenType.CURLY_OPEN:
                    return ParseObject(json, ref index, ref success);
                case TokenType.SQUARED_OPEN:
                    return ParseArray(json, ref index, ref success);
                case TokenType.TRUE:
                    NextToken(json, ref index);
                    return true;
                case TokenType.FALSE:
                    NextToken(json, ref index);
                    return false;
                case TokenType.NULL:
                    NextToken(json, ref index);
                    return null;
                case TokenType.NONE:
                    break;
            }
            success = false;
            return null;
        }