ObjectMapperUtil { public <T> T readValue(String json, Class<T> clazz) { try { return objectMapper.readValue(json, clazz); } catch (IOException e) { throw new JsonDeserializeFailed(e.getMessage()); } }  String writeValueAsString(Object object); T readValue(String json, Class<T> clazz);  }
@Test public void readValue_test() { final String json = "{\"name\": \"yun\"}"; final Member member = objectMapperUtil.readValue(json, Member.class); }