### Question:
JsonUtil { public static <T> T treeToValue(JsonNode node, Class<T> clazz) throws JsonProcessingException { return mapper.treeToValue(node, clazz); }  static String stringify(T value); static T fromJsonObject(String jsonString, Class<T> clazz); static List<T> fromJsonArray(String jsonString, 
			Class<T> elementClass); static JsonNode readTree(String jsonString); static T treeToValue(JsonNode node, Class<T> clazz); static Set<ValidationMessage> validate(JsonNode node, String schema);  }### Answer:
@Test public void treeToValue() throws JsonProcessingException { String jsonString = "{\"text\":\"a\",\"intNumber\":1,\"doubleNumber\":2.1,\"date\":\"2020-05-14T20:55:00\"}"; JsonNode rootNode = JsonUtil.readTree(jsonString); TestBean bean = JsonUtil.treeToValue(rootNode, TestBean.class); TestBean expected = new TestBean(); expected.setText("a"); expected.setIntNumber(1); expected.setDoubleNumber(2.1); expected.setDate(LocalDateTime.of(2020, 5, 14, 20, 55)); assertThat(bean).usingRecursiveComparison().isEqualTo(expected); }