-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug when iterating through object with empty keys #49
Conversation
I didn't yet figure out where the bug is, would appreciate hints. |
Probably the issue is when we try to build a json path with empty string:
Then we got |
I believe I have found a bugfix, could you check? On Tue, Nov 10, 2015 at 07:02:19PM -0800, Ning Sun wrote:
|
76271ed
to
a887952
Compare
Thanks for the fix. We need think about if removing |
Perhaps you'll have problems if you (incorrectly) use |
I should have found a better fix and cherry-picked your test case. Thanks for your fix. |
Yup, that does seem like a better solution. I wonder though what my fix would've broken? I've tried a lot of things and they all continued to work... On 12 November 2015 16:53:45 CET, Ning Sun notifications@github.com wrote:
Sent from my phone. Please excuse my brevity. |
Your fix should be correct for most common case. But it possibly breaks some incorrect usage like |
No description provided.