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
JSON.OBJKEYS/JSON.OBJLEN should return an empty array when being used with "multi path" #509
changed the title [-]JSON.OBJKEYS/JSON.OBJLEN empty keys and "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN with empty keys and "multi path"[/+]on Nov 1, 2021
changed the title [-]JSON.OBJKEYS/JSON.OBJLEN with empty keys and "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when begin used with "multi path"[/+]on Nov 1, 2021
changed the title [-]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when begin used with "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when being used with "multi path"[/+]on Nov 1, 2021
I'd be in favour of our always returning an array - and sometimes that array having a length of one. At least it would be consistent from the user's perspective. Unpopular - yes. Thoughts?
Activity
[-]JSON.OBJKEYS/JSON.OBJLEN empty keys and "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN with empty keys and "multi path"[/+][-]JSON.OBJKEYS/JSON.OBJLEN with empty keys and "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when begin used with "multi path"[/+][-]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when begin used with "multi path"[/-][+]JSON.OBJKEYS/JSON.OBJLEN should return an empty array when being used with "multi path"[/+]oshadmi commentedon Nov 23, 2021
@leibale Will be fixed by #548 by throwing an exception on missing key or path
chayim commentedon Nov 24, 2021
I'd be in favour of our always returning an array - and sometimes that array having a length of one. At least it would be consistent from the user's perspective. Unpopular - yes. Thoughts?
oshadmi commentedon Nov 24, 2021
Updating according to #553
Throw an exception on non-existing key
Return empty array on non-existing path
oshadmi commentedon Nov 28, 2021
Fixed by #553