You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discrepancy between documented behavior and actual behavior for JSON.OBJKEYS for nonexistent keys #1531
Activity
LiorKogan commentedon Apr 2, 2026
Thank you.
The documentation indeed states that null is returned for nonexistent key.
This is true for
.-paths but not for$-paths.We will update the documentation accordingly.
This behavior is consistent with other commands, such as
JSON.ARRLEN.For
JSON.GETthe reply is(nil)whether the path is a.-path or a$-path.We cannot solve this inconsistency now without introducing a breaking change.