You are reading a single comment by @feugy and its replies. Click here to read the full conversation.
  • Thanks for the clarification folks.

    This final character makes Puck.eval() failing when transfering these strings:

    Puck.eval('require("Storage").list()')
    

    will fail on:

    Unable to decode "[\"+mclock\",\"-mclock\",\"*mclock\",\"­+setting\",\"-setting\",\"=setting\",\"*­setting\",\"+astroid\",\"-astroid\",\"*a­stroid\",\"+gpstime\",\"-gpstime\",\"*gp­stime\",\"+compass\",\"-compass\",\"*com­pass\",\"+sbt\",\"=sbt\",\"+sbat\",\"=sb­at\",\"+files\",\"-files\",\"*files\",\"­+hrm\",\"-hrm\",\"*hrm\",\"+gpsinfo\",\"­-gpsinfo\",\"*gpsinfo\",\".trishig\",\".­bootcde\",\"+speedo\",\"-speedo\",\"*spe­edo\",\"@setting\",\"@activi\\1\",\"-act­ivit\",\"+activit\",\"test\\1\"]\r", got SyntaxError: Unexpected number in JSON at position 357
    

    Having chosen an octal escape sequence make it hard to (de)serialize.

About

Avatar for feugy @feugy started