var myObj = {"myProp":"Hello"}; alert (JSON.stringify(myObj)); // alerts {"myProp":"Hello"};
references: http://stackoverflow.com/questions/5753931/how-can-i-view-an-object-with-an-alert