public void toInterger(int[] arr){
String str = JSON.toJSONString(arr);
List<Integer> list = JSON.parseArray(str, Integer.class);
Integer[] it = list.toArray(new Integer[list.size()]);
for(Interger item : it){
System.out.println(item);
}
}