object json parse nestjs

JavaScript
var objJson1 = JSON.parse(JSON.stringify(objNotJson1));
Source

Also in JavaScript: