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

Replace JSON.stringify with angular.toJson #52

Open
Roboe opened this issue Jul 30, 2015 · 0 comments
Open

Replace JSON.stringify with angular.toJson #52

Roboe opened this issue Jul 30, 2015 · 0 comments

Comments

@Roboe
Copy link
Member

Roboe commented Jul 30, 2015

Problem: Angular stores internal data on objects.
Solution: Use angular.toJson instead of JSON.stringify

StackOverflow: http://stackoverflow.com/questions/18826320/what-is-the-hashkey-added-to-my-json-stringify-result
Angular docs, toJson: https://code.angularjs.org/1.4.3/docs/api/ng/function/angular.toJson

@Roboe Roboe added this to the FilmViz - MBP❤ (Minimum Beautiful Product) milestone Jul 30, 2015
@Roboe Roboe modified the milestones: FilmViz - MBP❤ (Minimum Beautiful Product), FilmViz - MBP✂ (Minimum Basic Product) Aug 3, 2015
Roboe added a commit to Roboe/filmviz that referenced this issue Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant