Javascript – how to convert a string to array of object in nodeJS
Hi all I have one string which I need to convert in array of object in node JS. as : var result = "[{'path': '/home/media/fileyear.jpg', 'vectors': [0.1234, 0.457, 0.234]}, {'path': '/home/media/fileyear2.jpg', 'vectors': [0.134, 0.557, 0.634]}]" to [{'path': '/home/media/fileyear.jpg', 'vectors': [0.1234,…