I noticed that Gson converts the string \"<\" into an unicode escape sequence in JSON output. Can you avoid this somehow, or do characters like \"<\" and \">\" always
You need to disable HTML escaping.
Gson gson = new GsonBuilder().disableHtmlEscaping().create();