It should work like this:
http://jsconsole.com/?var%20A15%3D%22ok%22%3B%0A%0Atest%3D%7B%7D%3B%0Atest%5B%27myname%27%5D%3D%27ESP%3A33FFD705-41573033-27620843%27%3B%0Atest%5B%27first%27%5D%3D%7B%22pin%22%3AA15%7D%3B%0A%0Aconsole.log(%27Orig%3A%27)%3B%0Aconsole.log(test)%3B%0A%0Ajson%3DJSON.stringify(test)%3B%0A%0Aconsole.log(%27JSON%3A%27)%3B%0Aconsole.log(json)%3B%0A%0Aconsole.log(%27Back%3A%27)%3B%0Aconsole.log(JSON.parse(json))%3B
Sacha
@Sacha 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.
It should work like this:
http://jsconsole.com/?var%20A15%3D%22ok%22%3B%0A%0Atest%3D%7B%7D%3B%0Atest%5B%27myname%27%5D%3D%27ESP%3A33FFD705-41573033-27620843%27%3B%0Atest%5B%27first%27%5D%3D%7B%22pin%22%3AA15%7D%3B%0A%0Aconsole.log(%27Orig%3A%27)%3B%0Aconsole.log(test)%3B%0A%0Ajson%3DJSON.stringify(test)%3B%0A%0Aconsole.log(%27JSON%3A%27)%3B%0Aconsole.log(json)%3B%0A%0Aconsole.log(%27Back%3A%27)%3B%0Aconsole.log(JSON.parse(json))%3B
Sacha