初始化代码
This commit is contained in:
17
vendor/mtdowling/jmespath.php/tests/compliance/perf/wildcardindex.json
vendored
Normal file
17
vendor/mtdowling/jmespath.php/tests/compliance/perf/wildcardindex.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
[{
|
||||
"description": "Multiple wildcards",
|
||||
"given":
|
||||
{"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]},
|
||||
"cases": [
|
||||
{
|
||||
"name": "wildcard_with_field_match",
|
||||
"expression": "foo[*].bar",
|
||||
"result": ["one", "two", "three"]
|
||||
},
|
||||
{
|
||||
"name": "wildcard_with_field_match2",
|
||||
"expression": "foo[*].notbar",
|
||||
"result": ["four"]
|
||||
}
|
||||
]
|
||||
}]
|
||||
Reference in New Issue
Block a user