Skip to content

Commit

Permalink
解决JsonUtil类"="变成"\u003d"的问题 (binarywang#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperDenton committed Nov 23, 2020
1 parent 5d01138 commit ea03d1d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class JsonUtils {
public static String toJson(Object obj) {
Gson gson = new GsonBuilder()
.setPrettyPrinting()
.disableHtmlEscaping()
.create();
return gson.toJson(obj);
}
Expand Down

0 comments on commit ea03d1d

Please sign in to comment.