You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in one of the comments, gather_keys is looking for objects, where you have an array. What you should probably be using here is gather_array.
Further, the other answer (on SO) uses a more brute-force approach to parsing the JSON attribute that the tidyjson package creates. tidyjson provides methods for dealing with this in a bit cleaner pipeline if desired:
This snippet of valid JSON results in "records are value not objects":
The issue is posted on Sack Overflow: http://stackoverflow.com/questions/34624172/what-does-records-are-values-not-objects-mean-in-tidyjson
According to http://jsonlint.com/ the JSON is valid.
The text was updated successfully, but these errors were encountered: