@Test public void canRead(){ TestMe test = om.readValue("{\"text\":\"foo\",\"nmbr\":42,\"another\":{\"text\":\"bar\",\"nmbr\":666,\"another\":null}}", TestMe.class); assertEquals("foo", test.text); assertEquals(42, test.nmbr); assertEquals("bar", test.another.text); assertEquals(666, test.another.nmbr); assertEquals(null, test.another.another); }
@Override public <T> T readValue(String value, Class<T> valueType) { try { return om.readValue(value, valueType); } catch (IOException e) { throw new UnirestException(e); } }
JacksonObjectMapper implements ObjectMapper { @Override public <T> T readValue(String value, Class<T> valueType) { try { return om.readValue(value, valueType); } catch (IOException e) { throw new UnirestException(e); } } }
JacksonObjectMapper implements ObjectMapper { @Override public <T> T readValue(String value, Class<T> valueType) { try { return om.readValue(value, valueType); } catch (IOException e) { throw new UnirestException(e); } } JacksonObjectMapper();  JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper om); }
JacksonObjectMapper implements ObjectMapper { @Override public <T> T readValue(String value, Class<T> valueType) { try { return om.readValue(value, valueType); } catch (IOException e) { throw new UnirestException(e); } } JacksonObjectMapper();  JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper om); @Override T readValue(String value, Class<T> valueType); @Override T readValue(String value, GenericType<T> genericType); @Override String writeValue(Object value); }
JacksonObjectMapper implements ObjectMapper { @Override public <T> T readValue(String value, Class<T> valueType) { try { return om.readValue(value, valueType); } catch (IOException e) { throw new UnirestException(e); } } JacksonObjectMapper();  JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper om); @Override T readValue(String value, Class<T> valueType); @Override T readValue(String value, GenericType<T> genericType); @Override String writeValue(Object value);  }