Skip to content

Commit 51d96f8

Browse files
committed
Fixes #4 - Pipe expression learned to handle null values.
1 parent 0be0a71 commit 51d96f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pipe.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@
126126
{
127127
"expression": "foo[*].bar[*] | [0][0]",
128128
"result": {"baz": "one"}
129+
},
130+
{
131+
"expression": "`null` | [@]",
132+
"result": [ null ]
129133
}
130134
]
131135
}]

0 commit comments

Comments
 (0)