@Deprecated public static JSONArray merge(JSONArray into, JSONArray from) { return merge(into, from, 0, into.length(), from.length()); }
EwJson.merge(this, (JSONArray) source);
/** * Attempt to merge any object with this. * * @see #merge(Object) * @param source * Object to attempt to use to populate this array. * @throws JSONException * Malformed object. */ public EwJsonObject(Object source) throws JSONException { this(); if (EwJson.isNull(source)) return; else if (source instanceof JSONObject) { EwJson.merge(this, (JSONObject) source); } else if (source instanceof String) { EwJsonObject.mergeFromString(this, (String) source, null); } else { EwJsonObject.tryMergeAny(this, source, null); } }
EwJson.merge(into, (JSONObject) from);
EwJson.merge(into, (JSONArray) from, 0, putDex, from.length());