diff --git a/src/main/java/com/xxl/tool/gson/GsonTool.java b/src/main/java/com/xxl/tool/gson/GsonTool.java index fdbfc14..ba7a444 100644 --- a/src/main/java/com/xxl/tool/gson/GsonTool.java +++ b/src/main/java/com/xxl/tool/gson/GsonTool.java @@ -19,7 +19,7 @@ public class GsonTool { private static Gson gson = null; static { - gson= new GsonBuilder().setDateFormat("yyyy-MM-dd HH:mm:ss").create(); + gson= new GsonBuilder().setDateFormat("yyyy-MM-dd HH:mm:ss").disableHtmlEscaping().create(); } /**