@Test public void readValue() throws Exception { TestC inf = (TestC) JsonBuilder.readValue(JSON, TestInf.class); TestB b = (TestB) inf.getTestInf(); assertEquals(b.getName(), "testName"); assertEquals(b.getAge(), 100); }
public static <T> T readValue(Map<String, Object> jsonMap, Class<T> reference) throws Exception { return DEFAULT.readValue(DEFAULT.writeValueAsString(jsonMap), reference); }
JsonBuilder { public static <T> T readValue(Map<String, Object> jsonMap, Class<T> reference) throws Exception { return DEFAULT.readValue(DEFAULT.writeValueAsString(jsonMap), reference); } }
JsonBuilder { public static <T> T readValue(Map<String, Object> jsonMap, Class<T> reference) throws Exception { return DEFAULT.readValue(DEFAULT.writeValueAsString(jsonMap), reference); }  }
JsonBuilder { public static <T> T readValue(Map<String, Object> jsonMap, Class<T> reference) throws Exception { return DEFAULT.readValue(DEFAULT.writeValueAsString(jsonMap), reference); }  static T readValue(Map<String, Object> jsonMap, Class<T> reference); static T readValue(String jsonString, TypeReference<T> reference); static T readValue(String jsonString, Class<T> reference); static String writeJsonString(Object o); }
JsonBuilder { public static <T> T readValue(Map<String, Object> jsonMap, Class<T> reference) throws Exception { return DEFAULT.readValue(DEFAULT.writeValueAsString(jsonMap), reference); }  static T readValue(Map<String, Object> jsonMap, Class<T> reference); static T readValue(String jsonString, TypeReference<T> reference); static T readValue(String jsonString, Class<T> reference); static String writeJsonString(Object o);  }