pretified json

This commit is contained in:
UnrealValentin
2021-04-12 13:08:40 +02:00
parent ef9c6cc07f
commit 44078ecede
2 changed files with 66 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ public class ObjectInfoConfigHandler {
ObjectInfoConfig objectInfoConfig = new ObjectInfoConfig(moduleInfos);
GsonBuilder builder = new GsonBuilder();
GsonBuilder builder = new GsonBuilder().setPrettyPrinting();
Gson gson = builder.create();
return gson.toJson(objectInfoConfig);