Closed itmaple closed 2 years ago
friends.#.nets|@flatten.#(!="")#
{ "name": {"first": "Tom", "last": "Anderson"}, "age":37, "children": ["Sara","Alex","Jack"], "fav.movie": "Deer Hunter", "friends": [ {"first": "Dale", "last": "Murphy", "age": 44, "nets": ["ig", "", "tw"]}, {"first": "Roger", "last": "Craig", "age": 68, "nets": ["fb", "tw"]}, {"first": "Jane", "last": "Murphy", "age": 47, "nets": ["ig", "tw"]} ] }
Result like this:
["ig","","tw","fb","tw","ig","tw"]
I pushed a fix. Thanks for reporting!
Result like this: