pass jsonArray