How do you log content of a JSON object in Node.js? October 19, 2022 by Tarik Try this one: console.log("Session: %j", session); If the object could be converted into JSON, that will work.