You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhishifufei_php/vendor/mtdowling/jmespath.php/tests/compliance/perf/multiwildcard.json

22 lines
616 B

[{
"description": "Multiple wildcards in an expression",
"given": {
"foo": [
{"bar": [{"kind": "basic"}, {"kind": "intermediate"}]},
{"bar": [{"kind": "advanced"}, {"kind": "expert"}]}
]
},
"cases": [
{
"name": "multi_wildcard_field",
"expression": "foo[*].bar[*].kind",
"result": [["basic", "intermediate"], ["advanced", "expert"]]
},
{
"name": "wildcard_with_index",
"expression": "foo[*].bar[0].kind",
"result": ["basic", "advanced"]
}
]
}]