hasAnyValue

Undocumented in source. Be warned that the author may not have intended to support it.
@safe
bool
hasAnyValue
(
Json json
,
Json[] values
,
bool deepSearch = false
)

Examples

auto json = parseJsonString(`{"a":"b", "c":{"d":1}, "e":["f", {"g":"h"}], "i":"j"}`);
assert(json.hasAllValues([Json("b"), Json("j")]));
assert(json.hasAllValues([Json("h"), Json(1)], true));

Meta