I'm using jsonr
to read a JSON file in to R. However, the fromJSON(file="file.json")
command is only reading the first line of the file. Here's the JSON:
{"id":"a","emailAddress":"a@a.com","name":"abc"}
{"id":"b","emailAddress":"b@b.com","name":"def"}
{"id":"c","emailAddress":"c@c.com","name":"ghi"}
How do I get all 3 rows into an R dataframe? Note that the above content lives in a single file.