In Groovy, how do I extract a new list from the following:
def people = [ new Person(name:\"Tom\", yearOfBirth:1985), new Person(name:\
You can do:
def names = people.name