You need to disable HTML escaping.
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
Read full article from java - Can you avoid Gson converting "<" and ">" into unicode escape sequences? - Stack Overflow
You need to disable HTML escaping.
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
Read full article from java - Can you avoid Gson converting "<" and ">" into unicode escape sequences? - Stack Overflow
No comments:
Post a Comment