Closed AlexanderYastrebov closed 3 years ago
Testing path friends.#(last=="Mur\"phy").first and the document:
friends.#(last=="Mur\"phy").first
{ "name": {"first": "Tom", "last": "Anderson"}, "age":37, "children": ["Sara","Alex","Jack"], "fav.movie": "Deer Hunter", "friends": [ {"first": "Dale", "last": "Mur\"phy", "age": 44, "nets": ["ig", "fb", "tw"]}, {"first": "Roger", "last": "Craig", "age": 68, "nets": ["fb", "tw"]}, {"first": "Jane", "last": "Murphy", "age": 47, "nets": ["ig", "tw"]} ] }
in the playgroud https://gjson.dev/ produces empty result while expected to produce "Dale".
"Dale"
Thanks for reporting. I fixed it and pushed an update.
Testing path
friends.#(last=="Mur\"phy").first
and the document:in the playgroud https://gjson.dev/ produces empty result while expected to produce
"Dale"
.