Fixed html printing in JSON

This commit is contained in:
Timo Ley 2020-07-05 20:21:29 +02:00
parent 38f8dae090
commit 788659c89a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import java.io.Writer;
public abstract class JSON {
public static Gson gson = new GsonBuilder().setPrettyPrinting().create();
public static Gson gson = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create();
public String toJSON() {
return gson.toJson(this);