I\'m trying to save a JSON object where each line is a record. How can I save the JSON object so that the number of lines is equal to the number of records (5 in example below)
This might do the trick:
x2 = strsplit(x, '\\},\\{') write.table(x2,"tmp.json")