Searched refs:readValueAs (Results 1 – 4 of 4) sorted by relevance
85 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()
107 msg.setAnimal(json.readValueAs(AbstractAnimal.class)); in deserialize()113 intoValue.setAnimal(json.readValueAs(AbstractAnimal.class)); in deserialize()
1846 public <T> T readValueAs(Class<T> valueType) throws IOException { in readValueAs() method in JsonParser1869 public <T> T readValueAs(TypeReference<?> valueTypeRef) throws IOException { in readValueAs() method in JsonParser
115 return QName.valueOf(jp.readValueAs(String.class)); in deserialize()