diff --git a/src/main/base/org/bdware/sc/conn/ResultCallback.java b/src/main/base/org/bdware/sc/conn/ResultCallback.java index 1a0a7cd..b447b65 100644 --- a/src/main/base/org/bdware/sc/conn/ResultCallback.java +++ b/src/main/base/org/bdware/sc/conn/ResultCallback.java @@ -22,9 +22,11 @@ public abstract class ResultCallback { public Channel getChannel() { return channel; } - public void onResult(Map object){ + + public void onResult(Map object) { onResult(JsonUtil.toJson(object)); } + public void onResult(JsonObject jo) { onResult(jo.toString()); }