grep_json_list: grep but for json list

View source: R/inspect_apsimx_json.R

grep_json_listR Documentation

grep but for json list

Description

recursive grep adapted for a json list

Usage

grep_json_list(pattern, x, ignore.case = FALSE, search.depth = 10)

Arguments

pattern

as in grep

x

object (a list)

ignore.case

as in grep

search.depth

search depth for the list (to prevent endless search)

Value

It returns a list with the found object, the json path and the positions in the list.


apsimx documentation built on March 18, 2022, 7:52 p.m.