Issue 640 in google-gson: Throw more detailed error message

3 views
Skip to first unread message

googl...@googlecode.com

unread,
May 29, 2015, 12:05:20 PM5/29/15
to google-gson...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 640 by vov...@gmail.com: Throw more detailed error message
https://code.google.com/p/google-gson/issues/detail?id=640

What steps will reproduce the problem?
Create json with string field and parse it as object

What is the expected output?
Show detailed error message, field name with current value, what type is
expected, and what we actually had.

What do you see instead?
Right now it throws: Expected BEGIN_OBJECT but was STRING
which is useless most of the time.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages