JSON.stringify can be used to pretty print JSON.
Arguments are the JSON object, a replacer function that can be used to override the string translation and a number of spaces that are used to indent the keys.
1 earlier thought
ctrl + enter
alt + enter