@Test(expected = JsonParseException.class) public void toMap_Exception_Array() { JsonUtils.toMap("[\"name\"]"); }
public static Map<String, Object> toMap(String json) { return getGson().fromJson(json, new TypeToken<HashMap<String, Object>>() { }.getType()); }
JsonUtils { public static Map<String, Object> toMap(String json) { return getGson().fromJson(json, new TypeToken<HashMap<String, Object>>() { }.getType()); } }
JsonUtils { public static Map<String, Object> toMap(String json) { return getGson().fromJson(json, new TypeToken<HashMap<String, Object>>() { }.getType()); } private  JsonUtils(); }
JsonUtils { public static Map<String, Object> toMap(String json) { return getGson().fromJson(json, new TypeToken<HashMap<String, Object>>() { }.getType()); } private  JsonUtils(); static String stripComment(String source); static String toJson(Object source); static Map<String, Object> toMap(String json); static Object[] toArray(String json); static Collection<T> toCollection(String json); }
JsonUtils { public static Map<String, Object> toMap(String json) { return getGson().fromJson(json, new TypeToken<HashMap<String, Object>>() { }.getType()); } private  JsonUtils(); static String stripComment(String source); static String toJson(Object source); static Map<String, Object> toMap(String json); static Object[] toArray(String json); static Collection<T> toCollection(String json);  }