def val = "[name: searchBaseDN value: , name: enable value: false, name: userDn value:
cn=EAGREAD,ou=Users,ou=Administration,o=hyn, name: base value: , name: prefsize value: 1,
name: timeBetweenEvictionRuns value: 300000]"
I would like to convert it into hashmap val[name:value]
Thanks for your help .