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

Add JSON.stringify #14

Closed
appsforartists opened this issue Jan 3, 2018 · 7 comments
Closed

Add JSON.stringify #14

appsforartists opened this issue Jan 3, 2018 · 7 comments
Assignees

Comments

@appsforartists
Copy link

appsforartists commented Jan 3, 2018

No description provided.

@xgebi
Copy link

xgebi commented Jan 3, 2018

May I ask why? JSON and object’s functions are two different things. Argumenting with JSON.stringify() and JSON.parse() would be better but ‘builtin objects explorer’ would be imho better place for this.

@nicolo-ribaudo
Copy link
Contributor

nicolo-ribaudo commented Jan 3, 2018

I think that at least it should be mentioned in Object.toString(), since a when I want a string representation of {a: 2} I usually expect "{ a: 2 }", not [object Object].

@sdras
Copy link
Owner

sdras commented Jan 3, 2018

Yeah, this doesn't actually qualify as an object method but it would be a nice thing to mention for people in toString, just to be helpful. @appsforartists brought it up on twitter and I asked that he make an issue for it. Probably could have used a description.

@sdras sdras self-assigned this Jan 3, 2018
@appsforartists
Copy link
Author

appsforartists commented Jan 3, 2018

Sorry - my issue descriptions get lazy at 2AM. 😝

@sdras
Copy link
Owner

sdras commented Jan 3, 2018

No worries! I knew what you meant :)

@appsforartists
Copy link
Author

appsforartists commented Jan 3, 2018

😃

@sdras
Copy link
Owner

sdras commented Jan 14, 2018

fixed!

@sdras sdras closed this as completed Jan 14, 2018
appsforartists added a commit to appsforartists/object-explorer that referenced this issue Jan 15, 2018
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

4 participants