xk/JASON — Issue #5: Parser error
Author: digitalwm
Created: 2012-02-17 15:01:53+00:00
State: open

Exception thrown when trying to parse the data that was serialized:

SyntaxError: Unexpected token :
at Object.parse (/node_modules/JASON/index.js:270:21)
at Object. (/distribPlugin.js:30:37)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)

I serialized and got the following

{"var5":true,"var2":[],"var1":0,"var3":(function (v) {
this.var1 = v;
}),"var4":Date}

Regards,
Dan.