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

save-data should handle serialization/deserialization #72

Open
benwiley4000 opened this issue Oct 28, 2016 · 0 comments
Open

save-data should handle serialization/deserialization #72

benwiley4000 opened this issue Oct 28, 2016 · 0 comments

Comments

@benwiley4000
Copy link
Contributor

benwiley4000 commented Oct 28, 2016

The save-data module should implement object serialization/deserialization (using JSON.parse / JSON.stringify) where necessary - the user should be able to provide and receive JavaScript objects via the saveData object's API.

localStorageSet already uses the object's toString method for serialization, but for non-primitives this becomes [object Object].

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

1 participant