public Object nextValue() {
        char c = lookAhead();
        switch (c) {
            case '"':
                return nextString();
            case '{':
                return nextObject();
            case '[':
                return nextArray();
        }

        /*
         * Handle unquoted text. This could be the values true, false, or
         * null, or it can be a number.
         *
         * Accumulate characters until we reach the end of the text or a
         * formatting character.
         */
        String s = nextToken();
        return tokenToValue(s);
    }
public Object nextValue ( ) { char c = lookAhead ( ) ; switch ( c ) { case '"' : return nextString ( ) ; case '{' : return nextObject ( ) ; case '[' : return nextArray ( ) ; } String s = nextToken ( ) ; return tokenToValue ( s ) ; }
Get the next value. The value can be a Boolean, Double, Integer,
List, Map, Long, or String, or null.

@return An object.