What steps will reproduce the problem?
public void testCase() {
String json = "";
final Map<String, String> cachedMap = new Gson().fromJson(json, new TypeToken<Map<String, String>>() {}.getType());
assertNotNull(cachedMap);
}
What is the expected output? What do you see instead?
It probably should throw an exception (JsonParseException or maybe a Syntax
one).
What version of the product are you using? On what operating system?
2.2.4, Ubuntu 12.10 and Android 4.3
Please provide any additional information below.
Original issue reported on code.google.com by da...@swiftkey.com on 30 Oct 2013 at 4:39
Original issue reported on code.google.com by
da...@swiftkey.com
on 30 Oct 2013 at 4:39