int[] (JsonReaderEx reader) { checkIsNull(reader); reader.beginArray(); if (!reader.hasNext()) { reader.endArray(); return ArrayUtilRt.EMPTY_INT_ARRAY; } IntList result = new IntArrayList(); do { result.add(reader.nextInt()); } while (reader.hasNext()); reader.endArray(); return result.toIntArray(); }