### Question:
JsonUtils { public static Object from(Repository r, String json, Type type) { return jsonUtils.from(r, json, type); } private  JsonUtils(); static Object from(Repository r, String json, Type type); static String to(Object o); static T from(Repository r, String json, Class<T> clazz); static List<T> fromList(Repository r, String json, Class<T> clazz); static List<?> fromListRaw(Repository r, String json, Type valueType); static Map<K, V> fromMap(Repository r, String json, Class<K> keyClazz, Class<V> valueClazz); static Map<?, ?> fromMapRaw(Repository r, String json, Type keyType, Type valueType); static Map<K, List<V>> fromMapList(Repository r, String json, Class<K> keyClazz, Class<V> valueClazz); static String readJson(BufferedReader reader); static boolean isJsonArray(String json); static List<String> getProperties(String json);  }### Answer:
@Test public void testBasicFrom() { IdRef from = JsonUtils.from(null, "\"/basic_objects/1\"", IdRef.class); assertEquals(BasicObject.class, from.getClazz()); assertEquals((Long) 1L, from.getId()); }
@Test public void testFrom() { BasicObject object = JsonUtils.from(null, DATA_OBJECT_JSON, BasicObject.class); object.assertObject("object1", "text", 1, 1L, 1.1, true, "2013/12/26 23:55:01"); }