Repository navigation
Fix Gson.newJsonWriter ignoring lenient and HTML-safe setting - #1989
eamonnmcmanus merged 3 commits into
Conversation
|
This seems reasonable. Most likely people have been affected only by having to call I think I would like to make a release before merging this change and #1992, since they are at least potentially breaking changes. And I'd like the OSGi fix from #1981 or an equivalent fix to be in that release. So it might be a little while before these are merged. [@Marcono1234 could you e-mail me at my |
The main problem is the HTML-safe setting: Gson has it enabled by default, but did not propagate it to the So it would be good indeed to have that in a separate release. |
|
The 2.8.9 release has now happened so we can merge this as part of the future 2.9.0. |
…le#1989) * Improve Gson newJsonWriter and newJsonReader documentation * Consider lenient and HTML-safe setting for Gson.newJsonWriter * Remove empty line between imports
Resolves #1452
Supersedes #1451
newJsonWriterwill now by default produce HTML-safe output (because that is Gson's default setting). However, arguably the previous behavior was incorrect.