JSON is easiest since there is built in support for reading to and writing from JSON files with automatic parsing/serialization with the Storage.readJSON and Storage.writeJSON. But you can use Storage.read and Storage.write for other formats, you just have to handle the parsing yourself.
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.
http://www.espruino.com/Reference#t_Storage
JSON is easiest since there is built in support for reading to and writing from JSON files with automatic parsing/serialization with the
Storage.readJSON
andStorage.writeJSON
. But you can useStorage.read
andStorage.write
for other formats, you just have to handle the parsing yourself.Also see this guide:
http://www.espruino.com/Bangle.js+Storage