InterviewSolution
Saved Bookmarks
| 1. |
Why Are There Invalid Characters In My Json Representation? |
|
Answer» The JSON spec REQUIRES any JSON STRING to be in UTF-8 ENCODING. However, XStream ensures this only if you provide an InputStream or an OutputStream. If you provide a Reader or WRITER you have to ensure this requirement on your own. The JSON spec requires any JSON string to be in UTF-8 encoding. However, XStream ensures this only if you provide an InputStream or an OutputStream. If you provide a Reader or Writer you have to ensure this requirement on your own. |
|