New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't stringify previously parsed function #1

ghost opened this Issue Jun 11, 2015 · 1 comment


None yet
1 participant

ghost commented Jun 11, 2015

var myJson = superJson.Create();
myJson.stringify(myJson.parse(myJson.stringify({foo: function(a) {return a;}})));

This fails with: Error: Functions must have a working toString methodin order to be serialized


This comment has been minimized.

serviceontheweb commented Jul 15, 2016

Same issue here. What to do? Please advice me something. I really need to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment