console.log object object to json code example Example: console.log object to json console.log(JSON. stringify(obj)) //Read Object