For example: Person { id, name, age } List<String> ids = Lists.toString(persons, 'id'); // should return only list of ids