recursive grep adapted for a json list
grep_json_list(
pattern,
x,
ignore.case = FALSE,
search.depth = 10,
how = c("unlist", "replace", "list")
)
It returns a list with the found object, the json path and the positions in the list.
as in grep
object (a list)
as in grep
search depth for the list (to prevent endless search)
argument passed to rapply