Skip to content

Commit

Permalink
Merge pull request #5 from jmespath-community/pipe-expression
Browse files Browse the repository at this point in the history
 Pipe expression learned to handle `null` values.
  • Loading branch information
springcomp authored Nov 8, 2022
2 parents a5a5e27 + 51d96f8 commit d6c74a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/pipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@
{
"expression": "foo[*].bar[*] | [0][0]",
"result": {"baz": "one"}
},
{
"expression": "`null` | [@]",
"result": [ null ]
}
]
}]

0 comments on commit d6c74a4

Please sign in to comment.