I am new to NodeJS so please excuse for this dumb question.
I receive a big JSON object in my NodeJS Service which I want to parse and make a new object which has some less properties from the original object. How can i do it in Node JS ?
I am new to NodeJS so please excuse for this dumb question.
I receive a big JSON object in my NodeJS Service which I want to parse and make a new object which has some less properties from the original object. How can i do it in Node JS ?
For example you got this object:
{
"name": "Felix"
}
Just do:
const object = JSON.parse(thatObject);
// Then you will have access to that object key and values
console.log(object.name) // Felix