Let\'s say I have
def A = \"abc\" def X = \"xyz\"
how do I create a Map where, instead of
Map
def map = [A:1, X:2] >
Use this:
def map = [(A):1, (X):2]
For the value-part it's even easier, since there is no automagic "convert text to string" happening:
def map = [keyA:A, keyX:X]