deepsearchjson - Search in All Keys in a JSON Object
Deep searches in all keys of a given JSON object. The result is an array of key/value pairs the matches the criteria.
json
object
Object to search in
Example:
{
"foundation": "Mozilla",
"model": "box",
"week": 45,
"transport": "car",
"month": 7,
"car": "BMW"
}
jsonString
string
Stringified JSON to search in
Example:
{"foundation":"Mozilla","model":"box","week":45,"transport":"car","month":7,"car":"BMW"}
searchString
string
String to search for
Example:
car
scope
string
Scope to search in - 'keys' is default
Possible values are: keys, values, all
Example:
keys
comparison
string
Comparison method
Possible values are: equal, equal_case_insensitive, startswith, endswith, contains
Example:
endswith