JSON and data frames

An array of (unnamed) rows

json_row <- parse_json('
  [
    {"x": "a", "y": 10},
    {"x": "x", "y": null},
    {"x": "z", "y": 3}
  ]
')
str(json_row)
## List of 3
##  $ :List of 2
##   ..$ x: chr "a"
##   ..$ y: int 10
##  $ :List of 2
##   ..$ x: chr "x"
##   ..$ y: NULL
##  $ :List of 2
##   ..$ x: chr "z"
##   ..$ y: int 3