Home
last modified time | relevance | path

Searched refs:readValueAs (Results 1 – 4 of 4) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DMapperViaParserTest.java85 Pojo p = jp.readValueAs(Pojo.class); in testPojoReading()
91 p = jp.readValueAs(Pojo.class); in testPojoReading()
109 assertEquals(Integer.valueOf(1), p.readValueAs(Integer.class)); in testIncrementalPojoReading()
110 assertEquals(Boolean.TRUE, p.readValueAs(Boolean.class)); in testIncrementalPojoReading()
115 assertNull(p.readValueAs(Object.class)); in testIncrementalPojoReading()
119 assertEquals("abc", p.readValueAs(String.class)); in testIncrementalPojoReading()
122 assertNull(p.readValueAs(Object.class)); in testIncrementalPojoReading()
139 Pojo pojo = p.readValueAs(Pojo.class); in testPojoReadingFailing()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestUpdateViaObjectReader.java107 msg.setAnimal(json.readValueAs(AbstractAnimal.class)); in deserialize()
113 intoValue.setAnimal(json.readValueAs(AbstractAnimal.class)); in deserialize()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonParser.java1846 public <T> T readValueAs(Class<T> valueType) throws IOException { in readValueAs() method in JsonParser
1869 public <T> T readValueAs(TypeReference<?> valueTypeRef) throws IOException { in readValueAs() method in JsonParser
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DTestJacksonAnnotationIntrospector.java115 return QName.valueOf(jp.readValueAs(String.class)); in deserialize()