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

Basic array issue #404

Open
MonteShaffer opened this issue Sep 22, 2022 · 0 comments
Open

Basic array issue #404

MonteShaffer opened this issue Sep 22, 2022 · 0 comments

Comments

@MonteShaffer
Copy link

MonteShaffer commented Sep 22, 2022

jsonlite::unserializeJSON('[1,2,3,4]')

# Error in if (encoding.mode == "NULL") { : argument is of length zero

# was expecting something like

# c(1, 2, 3, 4)

I am not expecting an error on this one.

In a web browser, this is what I get (and expect):

JSON.parse('[1,2,3,4]')
(4) [1, 2, 3, 4]
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

1 participant