List<String> (@NotNull IonReader reader) { List<String> list = new ArrayList<>(); reader.next(); reader.stepIn(); String nextString; while ((nextString = readString(reader, null)) != null) { list.add(nextString); } reader.stepOut(); return list; }