def jobsInView = [
["name":"hello", "age":"45","language":"english"],
["name":"hi", "age":"22","language":"english"],
["name":"ravi", "age":"22","language":"spanish"]
]
我需要获取密钥的值" name"在列表中,如下所示:
def listOfNames = ["hello","hi","ravi"]
请告诉我获取上述值的最佳方法。