-
Notifications
You must be signed in to change notification settings - Fork 30
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
Use optional args for JSON.stringify and JSON.parseExn #201
Conversation
Love it! If we keep the old functions around for a while but deprecate them then we can avoid breaking, right? |
Yes, will do that! (And also update the documentation and add some tests.) |
9a395a0
to
a4f1ec9
Compare
a45c9a4
to
2f7cba0
Compare
@zth Ready for re-review, could you have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. 2 comments:
- Docstrings should probably be updated to match the new v11 Json representation.
- Will this require 11.1 to play nicely with undefineds?
2f7cba0
to
2005e5b
Compare
Done
No, both |
This would simplify the API a lot, but it would be a breaking change.
What do you think?