Skip to content

Preserve JSON null when indexing into an array#111

Open
rayokota wants to merge 1 commit into
dashjoin:mainfrom
rayokota:fix-array-null
Open

Preserve JSON null when indexing into an array#111
rayokota wants to merge 1 commit into
dashjoin:mainfrom
rayokota:fix-array-null

Conversation

@rayokota
Copy link
Copy Markdown
Contributor

@rayokota rayokota commented May 24, 2026

evaluate_filter was treating an in-bounds array element that happens to be JSON null the same as an out-of-bounds access, so a numeric predicate like $row[1] would silently drop the element instead of returning null.

Port of equivalent fix from jsonata-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant