I have a very simple task I am trying to do in Groovy but cannot seem to get it to work. I am just trying to loop through a map object in groovy and print out the key and value
Another option:
def map = ['a':1, 'b':2, 'c':3] map.each{ println it.key +" "+ it.value }