1const language = this.converstaionLanguage; // {"lang":"en"} <- this is JSON
2
3console.log(language); // [object Object]
4console.log(JSON.stringify(language) // {"lang":"en"}
1const util = require('util')
2
3console.log(util.inspect(myObject, {showHidden: false, depth: null}))
4
5// alternative shortcut
6console.log(util.inspect(myObject, false, null, true /* enable colors */))