Switch to jsonlite? #31

Closed
eddelbuettel opened this Issue Jan 27, 2017 · 3 comments

Projects

None yet

2 participants

@eddelbuettel
Owner

Tried switching from (old) RJSONIO to (newer) jsonlite but simpleTests.R balks on file upload.

@restonslacker Can you take a peek? It is curl/jsonlite interaction. Somehow the token gets lost.

@restonslacker
Contributor

it appears that RJSONIO and jsonlite didn't quite align at how to unnest a single object. RSJONIO returned a vector with a single character and jsonlite was returning a list with a single string. that solved the issue for me.

@eddelbuettel
Owner

I looked at it, suspecting such a minor difference, but somewhat I was too dense. Or had too little coffee.

@restonslacker
Contributor

given that it took me 5 commits to make that change, i'd say you're not alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment