mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-07-30 23:02:03 +00:00
array keys
This commit is contained in:
@@ -40,6 +40,10 @@ fn array() {
|
||||
select_and_then_compare("$['school']['friends'][0].['name']", read_json("./benches/data_obj.json"), json!([
|
||||
"Millicent Norman"
|
||||
]));
|
||||
|
||||
select_and_then_compare(r#"$.["eyeColor", "name"]"#, read_json("./benches/data_obj.json"), json!([
|
||||
"blue", "Leonor Herman"
|
||||
]));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user