groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo zhang <zhangbo...@gmail.com>
Subject How can I convert a Map to Groovy Literal?
Date Sat, 17 Dec 2016 06:59:14 GMT
Hi everybody, I want to convert a Map to Groovy literal, is there
convenient methods to do this or I have to write it myself?

For example,

assert convert(map)=="[a:'a',b:'b']"

Mime
View raw message