Java 类com.fasterxml.jackson.core.type.ResolvedType 实例源码

项目:joyplus-tv    文件:ObjectMapper.java   
/**
 * Method to deserialize JSON content into a Java type, reference
 * to which is passed as argument. Type is passed using 
 * Jackson specific type; instance of which can be constructed using
 * {@link TypeFactory}.
 */
@Override
@SuppressWarnings("unchecked")
public final <T> T readValue(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonParseException, JsonMappingException
{
    return (T) _readValue(getDeserializationConfig(), jp, (JavaType) valueType);
}
项目:GitHub    文件:ParserMinimalBase.java   
@SuppressWarnings("unchecked")
@Override
public <T> T readValueAs(ResolvedType type) throws IOException {
    return (T) _objectReadContext.readValue(this, type);
}
项目:GitHub    文件:ObjectReadContext.java   
@Override
public <T> T readValue(JsonParser p, ResolvedType type) throws IOException {
    return _reportUnsupportedOperation();
}
项目:GitHub    文件:JsonParserDelegate.java   
@Override
public <T> T readValueAs(ResolvedType type) throws IOException {
    return delegate.readValueAs(type);
}
项目:QuizUpWinner    文件:ObjectReader.java   
public <T> T readValue(JsonParser paramJsonParser, ResolvedType paramResolvedType)
{
  return withType((JavaType)paramResolvedType).readValue(paramJsonParser);
}
项目:QuizUpWinner    文件:ObjectReader.java   
public <T> Iterator<T> readValues(JsonParser paramJsonParser, ResolvedType paramResolvedType)
{
  return readValues(paramJsonParser, (JavaType)paramResolvedType);
}
项目:jackson-jr    文件:JSON.java   
@SuppressWarnings("unchecked")
@Override
public <T> T readValue(JsonParser p, ResolvedType type) throws IOException {
    return (T) readValue(p, type.getRawClass());
}
项目:joyplus-tv    文件:ObjectMapper.java   
/**
 * Method for reading sequence of Objects from parser stream.
 * Sequence can be either root-level "unwrapped" sequence (without surrounding
 * JSON array), or a sequence contained in a JSON Array.
 * In either case {@link JsonParser} must point to the first token of
 * the first element, OR not point to any token (in which case it is advanced
 * to the next token). This means, specifically, that for wrapped sequences,
 * parser MUST NOT point to the surrounding <code>START_ARRAY</code> but rather
 * to the token following it.
 *<p>
 * Note that {@link ObjectReader} has more complete set of variants.
 */
@Override
public <T> MappingIterator<T> readValues(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException
{
    return readValues(jp, (JavaType) valueType);
}
项目:GitHub    文件:JsonParser.java   
/**
 * @since 3.0
 */
public abstract <T> T readValueAs(ResolvedType type) throws IOException;
项目:Beam    文件:ObjectCodec.java   
/**
 * Method to deserialize JSON content into a POJO, type specified
 * with fully resolved type object (so it can be a generic type,
 * including containers like {@link java.util.Collection} and
 * {@link java.util.Map}).
 */
public abstract <T> T readValue(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException;
项目:Beam    文件:ObjectCodec.java   
/**
 * Method for reading sequence of Objects from parser stream,
 * all with same specified value type.
 */
public abstract <T> Iterator<T> readValues(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException;
项目:joyplus-tv    文件:ObjectReader.java   
/**
 * Convenience method that binds content read using given parser, using
 * configuration of this reader, except that expected value type
 * is specified with the call (instead of currently configured root type).
 * Value return is either newly constructed, or root value that
 * was specified with {@link #withValueToUpdate(Object)}.
 *<p>
 * NOTE: this method never tries to auto-detect format, since actual
 * (data-format specific) parser is given.
 */
@Override
@SuppressWarnings("unchecked")
public <T> T readValue(JsonParser jp, ResolvedType valueType) throws IOException, JsonProcessingException {
    return (T) withType((JavaType)valueType).readValue(jp);
}
项目:joyplus-tv    文件:ObjectReader.java   
/**
 * Convenience method that is equivalent to:
 *<pre>
 *   withType(valueType).readValues(jp);
 *</pre>
 *<p>
 * NOTE: this method never tries to auto-detect format, since actual
 * (data-format specific) parser is given.
 */
@Override
public <T> Iterator<T> readValues(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException {
    return readValues(jp, (JavaType) valueType);
}
项目:joyplus-tv    文件:ObjectCodec.java   
/**
 * Method to deserialize JSON content into a POJO, type specified
 * with fully resolved type object (so it can be a generic type,
 * including containers like {@link java.util.Collection} and
 * {@link java.util.Map}).
 */
public abstract <T> T readValue(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException;
项目:joyplus-tv    文件:ObjectCodec.java   
/**
 * Method for reading sequence of Objects from parser stream,
 * all with same specified value type.
 */
public abstract <T> Iterator<T> readValues(JsonParser jp, ResolvedType valueType)
    throws IOException, JsonProcessingException;
项目:GitHub    文件:ObjectReadContext.java   
public <T> T readValue(JsonParser p, ResolvedType type) throws IOException;
项目:QuizUpWinner    文件:ObjectCodec.java   
public abstract <T> T readValue(JsonParser paramJsonParser, ResolvedType paramResolvedType);
项目:QuizUpWinner    文件:ObjectCodec.java   
public abstract <T> Iterator<T> readValues(JsonParser paramJsonParser, ResolvedType paramResolvedType);