views:

79

answers:

1

Hello,
Like the JSON converter, is there any easy way to convert an object into LinkedHashMap. The JSON string is constructed as

   def query = new JSON(cmd).toString()

anything similar..

thanks..

A: 

In Grails, I could do it by object.parameters .. also, in my case I could use the params (request parameters)

bsreekanth