Thank you for the link! Believe it or not, after 20+ years of JS I'm still learning new stuff.
Didn't realize this, but you can also reformat/prettify JSON text by doing something like JSON.stringify(myJSON, null, 2). Very handy.
JSON.stringify(myJSON, null, 2)
@oesterle started
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.
Thank you for the link! Believe it or not, after 20+ years of JS I'm still learning new stuff.
Didn't realize this, but you can also reformat/prettify JSON text by doing something like
JSON.stringify(myJSON, null, 2)
. Very handy.