Skip to content

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Sep 12, 2025

Before PR #116 we would resolve JSON pointers pointing to dictionaries with integer keys. Noting that JSON object keys are always strings, this PR tentatively restores that feature in case anyone is relying on it.

I've also added support for resolving pointers pointing to float keys, provisionally. And, if we're supporting integer and float keys, why not bool and None? (dictionaries and lists aren't hashable, so they can't be keys in Python or JSON).

@jg-rp
Copy link
Owner Author

jg-rp commented Sep 12, 2025

I'm not going to merge this, for now, and call it a bug which is now fixed.

Shout if this is affecting you and we'll find a way to support non-string keys in JSON Pointer data.

@jg-rp jg-rp marked this pull request as draft September 13, 2025 06:29
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