Hey all,

I thought this would be a breeze, but it's completely stumped me.

Basically I have have a normal variable which the contains looks like -> name1:"dude",name2:"sweet"...

And I need this to populate an object with this:

myobject = {myvariable};

But of course this doesn't work, any ideas?
eval, maybe?