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
When using the for loop, the value of s is a Map.Entry element, meaning that you can get the key from s.key and the value from s.value