-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Milestone
Description
jsonata-java version 0.9.9
Example:
json: empty {}
jsonata expression: [] ~> $each(?, function($v) { $v })
expected result: empty
actual result: com.dashjoin.jsonata.JException: Argument "1" of Object "each" does not match Object signature
details from debug:
functionName: each
badSig: af
partialPattern: ^[om]?
badArgs:
0 - Utils@JList
1 - ParserSymbol
to reproduce the bug use simple test:
@Test public void testEach() { var expression = Jsonata.jsonata("[] ~> $each(?, function($v) { $v })"); expression.evaluate("{}"); }
On https://try.jsonata.org/ example work correct, return ** no match **

Metadata
Metadata
Assignees
Labels
No labels