PListValue (ArrayList<?> list) { List<Object> result = new ArrayList<>(); for (Object o : list) { PListValue value = readValue(o); if (value != null) { result.add(value); } } return value(result, PlistValueType.ARRAY); }