@Philip: this solution won't handle the case when some of those
options are instances of other Mootools classes. I need a recursive
way of doing it.

@Sean: this looks good to me, I'll test soon. Thanks!

On Nov 11, 5:29 pm, Sean McArthur <[email protected]> wrote:
> JSON.stringify will use a toJSON method if it exists on the method.
>
> just define toJSON: function() { return this.options; }

Reply via email to