private void transform ( JSONArray root ) { for ( int i = 0 , size = root . size ( ) ; i < size ; i ++ ) { Object target = root . get ( i ) ; if ( target instanceof JSONObject ) this . transform ( ( JSONObject ) target ) ; } }
Apply transform to each json object in the json array