diff --git a/src/main/base/org/bdware/sc/util/JsonUtil.java b/src/main/base/org/bdware/sc/util/JsonUtil.java index de88174..887667a 100644 --- a/src/main/base/org/bdware/sc/util/JsonUtil.java +++ b/src/main/base/org/bdware/sc/util/JsonUtil.java @@ -48,4 +48,8 @@ public class JsonUtil { public static JsonObject parseObjectAsJsonObject(Object obj) { return GSON.toJsonTree(obj).getAsJsonObject(); } + + public static JsonElement parseObject(Object obj) { + return GSON.toJsonTree(obj); + } }