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

Use var args in the JSONObject constructor instead of String arrays #493

Closed
spaffrath opened this issue Nov 2, 2019 · 1 comment
Closed

Comments

@spaffrath
Copy link
Contributor

This change allows the constructor to be called with the less verbose
new JSONObject(someVal, "a", "b", "c")
instead of
new JSONObject(someVal, new String[]{"a", "b", "c"})
but does not affect backwards comptibility

@stleary
Copy link
Owner

stleary commented Nov 4, 2019

Please add comments to #494

@stleary stleary closed this as completed Nov 4, 2019
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

2 participants