*/
private static Object jsonToConfig(Object json, Expressions expressions, ELContext context) {
if (JSONObject.NULL.equals(json)) {
return null;
} else if (json instanceof CharSequence) {
return new DynamicConfigProperty(json.toString(), expressions, context);
} else if (json instanceof JSONArray) {
JSONArray jsonArray = (JSONArray) json;
List<Object> values = new ArrayList<Object>(jsonArray.length());
for (int i = 0, j = jsonArray.length(); i < j; ++i) {
values.add(jsonToConfig(jsonArray.opt(i), expressions, context));