Thanks for this! Although what firmware are you using? I just tried this on the KickStarter firmware and latest, and I get:
let set={"id":1,"test":2};
let sto=require("Storage");
sto.writeJSON("test.json",set);
sto.write("test.json","test123");
sto.list("test.json");
=[
"test.json"
]
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for this! Although what firmware are you using? I just tried this on the KickStarter firmware and latest, and I get:
So it doesn't seem to reproduce it for me :(