node js json array to string
const json JSON.stringify(array, null, 2) console.log(json) Answer 3. How is the RPGLE program creating the string?Home Node.js Convert String to JSON node.js. LAST QUESTIONS. How about this: Var obj JSON.parse(""items":" request.param(items) "") obj.title request.param(title) obj.thumb request.param(thumb) JSON.stringify(obj) I have a url to read file in my nodejs application.I try to use csv-parse and csvtojson node module but it different to manipulate the way the I want. Those modules return the json but I want to manipulate the json like if value are the same, I want to addition the count. Im a newb to back end code and Im trying to create a function that will respond to me a json string.