-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why gson can parse some string not stand json such as "[a,b,c]" ? #763
Comments
It's not valid JSON. Try |
Yes. I know that. It's not valid JSON. But gson could parse this. |
Oh you're asking why it can parse it? For historical reasons Gson is lenient by default and unfortunately there's no sane API to disable it for Disabling the lenient behavior can be done when using the object binding API (via the |
I haven't reviewed the code, but can you explain why the lenient behavior
|
Probably resolved (but not really fixed) by the documentation improvements of #2122. |
I think those documentation improvements are probably the best we can do given compatibility requirements and the maintenance-mode status of this project. |
? why?
The text was updated successfully, but these errors were encountered: