that .replace won't work with string values like {a:"Hello",b:2};
{a:"Hello",b:2};
as for converting - quick and dirty may be eval('('+data+')')
eval('('+data+')')
@fanoush 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.
that .replace won't work with string values like
{a:"Hello",b:2};
as for converting - quick and dirty may be
eval('('+data+')')