-
Notifications
You must be signed in to change notification settings - Fork 40
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
toJSON(auto_unbox=TRUE) can generate invalid JSON #71
Comments
After off-list discussion we decided to keep things the way they are. When calling To ensure that the output is always valid JSON, simply wrap your object in |
I just switched Shiny to jsonlite and in some rare test cases ran into this bug. (We previously switched to jsonlite but backed it out for a maintenance release.)
I think it makes sense to special-case this so that it returns
["foo"]
.The text was updated successfully, but these errors were encountered: