diff --git a/doric-android/doric/src/main/java/pub/doric/utils/DoricUtils.java b/doric-android/doric/src/main/java/pub/doric/utils/DoricUtils.java index 7b0ebaac..b1fa8965 100644 --- a/doric-android/doric/src/main/java/pub/doric/utils/DoricUtils.java +++ b/doric-android/doric/src/main/java/pub/doric/utils/DoricUtils.java @@ -79,6 +79,8 @@ public class DoricUtils { return new JavaValue(((JSONBuilder) arg).toJSONObject()); } else if (arg instanceof JSONObject) { return new JavaValue((JSONObject) arg); + } else if (arg instanceof JSONArray) { + return new JavaValue((JSONArray) arg); } else if (arg instanceof String) { return new JavaValue((String) arg); } else if (arg instanceof Integer) {