convert class object to json node js

119

convert class object to json node js -

var j = {
  "name": "binchen"
};
console.log(JSON.stringify(j));

Comments

Submit
0 Comments