Skip to content
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

Support reviver as in JSON.parse()? #11

Closed
coodoo opened this issue May 21, 2016 · 1 comment
Closed

Support reviver as in JSON.parse()? #11

coodoo opened this issue May 21, 2016 · 1 comment

Comments

@coodoo
Copy link

coodoo commented May 21, 2016

Just wondering is reviver support on the roadmap, see details here.

Since hjson makes it easy to write multi line strings it seems to be a perfect match to write functions in hjson as string and later restore it back to function when parsing, thought?

@laktak
Copy link
Member

laktak commented May 23, 2016

I don't see the advantage over parsing the data first and traversing the output afterwards.

@laktak laktak closed this as completed Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants