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

how to parse object stringify using this library? #3

Open
iRajul opened this issue Jun 12, 2017 · 3 comments
Open

how to parse object stringify using this library? #3

iRajul opened this issue Jun 12, 2017 · 3 comments

Comments

@iRajul
Copy link

iRajul commented Jun 12, 2017

how to parse object stringify using this library?

@fuqcool
Copy link
Owner

fuqcool commented Jul 5, 2017

you should use eval to parse the object.

@Globik
Copy link

Globik commented Sep 24, 2017

Is it with node-stringify possible stringify nested object with a lot of functions and event emmitters? Let's say websocket instances and family?

@fuqcool
Copy link
Owner

fuqcool commented Oct 7, 2017

I guess no. It's not designed for complex objects/functions. My suggestion is to stringify the key props of your object and construct it back in js.
@Globik

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

3 participants