After creating an array of images using
var a = Array.from(document.getElementById("id").files);
I tried to generate a JSON string of that array using
var b = JSON.stringify(a);
However, all I get is an empty array. It seems like this issue is common with stringify, and despite researching extensively, I haven't been able to find a solution.