Open jeremystan opened 8 years ago
This could be very tricky to implement if there are multiple objects, though. I.e. when recursive=TRUE, would you strip away the values that were captured from nested objects?
My thought is that spread_values
does not have this behavior, so spread_all
probably should not. Or maybe both should have that behavior, but I think it makes sense for their behavior to be consistent.
Currently it leaves the JSON as is
Perhaps instead it should strip these away:
This makes sense since they are already captured in the
tbl_json
object, and it will make it easier to see that the next step should beenter_object
and thengather_array
.