SyntaxFix
Write A Post
Hire A Developer
Questions
Groovy maps can be used with the property property, so you can just do:
property
def x = mymap.likes
If the key you are looking for (for example 'likes.key') contains a dot itself, then you can use the syntax:
'likes.key'
def x = mymap.'likes.key'