I need to save a complex javascript object to a file for later investigation. It is a very big object, more then 50 methods and propeties.
I can see the object and its methods and properties (and its values) in Firefox-Firebug on DOM page, but i can't save it to a file from there.
I want save the object with current values of properties, not the HTML doc. Any format of a file - HTML or JSON or anything else is good for me :)
How can I save the object?