You need to disable HTML escaping.
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
More Related Contents:
- Why does Gson fromJson throw a JsonSyntaxException: Expected BEGIN_OBJECT but was BEGIN_ARRAY?
- “Expected BEGIN_OBJECT but was STRING at line 1 column 1”
- JSON parsing using Gson for Java
- How can I convert JSON to a HashMap using Gson?
- Gson: How to exclude specific fields from Serialization without annotations
- How do I write a custom JSON deserializer for Gson?
- Get nested JSON object with GSON using retrofit
- How to parse json parsing Using GSON in android
- Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2
- Jackson Vs. Gson [closed]
- Is default no-args constructor mandatory for Gson?
- Parsing JSON array into java.util.List with Gson
- Custom JSON deserializer using Gson
- How to decode JSON with unknown field using Gson?
- How to parse dynamic JSON fields with GSON?
- Deserializing an abstract class in Gson
- JSON GSON.fromJson Java Objects
- class A declares multiple JSON fields
- Returning JSON response from Servlet to Javascript/JSP page
- how to parse a huge JSON file without loading it in memory
- How do I use Google’s Gson API to deserialize JSON properly?
- Dealing with randomly generated and inconsistent JSON field/key names using GSON
- How to convert Json to Java object using Gson [duplicate]
- Setting Default value to a variable when deserializing using gson
- Java GSON: Getting the list of all keys under a JSONObject
- Gson – deserialization to specific object type based on field value
- Using gson to deserialize specific JSON field of an object
- Gson custom deseralizer for one variable in an object
- How to serialize Optional classes with Gson?
- Retrofit GSON serialize Date from json string into java.util.date