Read JSON in R

Read data from a JSON and convert it to the appropriate R structure.

library(jsonlite)
res <- fromJSON(my_json)
str(res)