const user = { name: "Albert", age: 25 }; const jsonString = JSON.stringify(user); console.log(jsonString);