You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Run this java code:
JsonParser parser = new JsonParser();
JsonElement element = parser.parse("{\"description\":\"c:\\userDescription.txt\"}");
JsonObject attributes = element.getAsJsonObject();
System.out.println(attributes);
Expected output:
{"description":"c:\userDescription.txt"}
but actually, I see:
Exception in thread "main" com.google.gson.JsonSyntaxException:
java.lang.NumberFormatException: For input string: "serD"
I use Gson 1.5.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 3 Mar 2015 at 4:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 3 Mar 2015 at 4:34The text was updated successfully, but these errors were encountered: