I have tried console.log(filename.filename); but it is not working.
[{"filename":"54526108_1946746692102415_4003062236024143872_n.jpg"}]
Join Stack Overflow to learn, share knowledge, and build your career.
I have tried console.log(filename.filename); but it is not working.
[{"filename":"54526108_1946746692102415_4003062236024143872_n.jpg"}]
It’s an array with an object in it. Just try
console.log(filename[0].filename)