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

.fromJSON and .toJSON always output [object Object] #6

Open
1e1000000 opened this issue May 24, 2020 · 1 comment
Open

.fromJSON and .toJSON always output [object Object] #6

1e1000000 opened this issue May 24, 2020 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@1e1000000
Copy link

No description provided.

@1e1000000 1e1000000 changed the title .toJSON always output [object Object] .fromJSON and .toJSON always output [object Object] May 24, 2020
@Naruyoko
Copy link
Owner

I can fix fromJSON. However outputting JSON string instead of an Object for toJSON breaks JSON.stringify. See also serializeMode (or maybe I should completely replace toJSON to output string?).

@Naruyoko Naruyoko added bug Something isn't working enhancement New feature or request labels May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants