https://cran.r-project.org/web/packages/jsonlite/vignettes/json-aaquickstart.html
Please try jsonlite its the fastest in my experience for json data especially nested
also see
https://rstudio-pubs-static.s3.amazonaws.com/31702_9c22e3d1a0c44968a4a1f9656f1800ab.html