Skip to content

json: fix cycle detection #153

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

extemporalgenome
Copy link
Contributor

Cycle detection had been implemented, but was non-functional due to a call-chain subtlety.

This also expands cycle detection to cover maps and slices, as the stdlib implementation covers these cases as well.

@extemporalgenome extemporalgenome force-pushed the kgillette/2025-07/fix-cycle-detection branch from 0c1b278 to e7e3ee1 Compare July 29, 2025 18:51
Also set UnsupportedValueError.Value (better stdlib compat).
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