Skip to content

Commit ea03d1d

Browse files
authored
解决JsonUtil类"="变成"\u003d"的问题 (binarywang#105)
1 parent 5d01138 commit ea03d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/binarywang/demo/wx/mp/utils/JsonUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public class JsonUtils {
1010
public static String toJson(Object obj) {
1111
Gson gson = new GsonBuilder()
1212
.setPrettyPrinting()
13+
.disableHtmlEscaping()
1314
.create();
1415
return gson.toJson(obj);
1516
}

0 commit comments

Comments
 (0)