Shared publicly  - 
 
DevTools snippet: save an object to a JSON file with console.save

http://bgrins.github.io/devtools-snippets/#console-save
231
210
David Corbett's profile photoPaul Gower's profile photoAntonio Fernandes's profile photoSimon Hildebrandt's profile photo
11 comments
 
Sweet mother of perl, this is great. So simple, yet so useful.
 
This would be awesome specially while debugging Angular. Thanks!!
 
What an absolute gem!  Thanks for sharing this!
 
great tip! Only problem is that I'm having to run the snippet each time I start up chrome, in order to use the command. Anyone knows how to avoid this?
 
Can we .load and .diff ? ;-)
 
what about csv? would be great as a native export!
 
I imagine JSON over CSV because JSON can get parsed back into native data types, and it's a lot easier to output nested values.
 
HOLY CRAP, this is now my favorite snippet!! 
Add a comment...