Skip to content

Support json 3.0 in the test suite - #69

Closed
jho406 wants to merge 1 commit into
fix-readme-docsfrom
json-3-compat
Closed

jho406 wants to merge 1 commit into
fix-readme-docsfrom
json-3-compat

Conversation

@jho406

@jho406 jho406 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

json 3.0 rejects duplicate keys when parsing by default, so the spec asserting "the last one wins" now opts in with allow_duplicate_key.

ActiveSupport 7.1 and 8.0 pass quirks_mode to JSON.generate, which json 3.0 now rejects as an unknown option. Pin json below 3 for those Rails versions. Rails 7.2, 8.1, and main are unaffected.

json 3.0 rejects duplicate keys when parsing by default, so the spec
asserting "the last one wins" now opts in with allow_duplicate_key.

ActiveSupport 7.1 and 8.0 pass quirks_mode to JSON.generate, which
json 3.0 now rejects as an unknown option. Pin json below 3 for those
Rails versions. Rails 7.2, 8.1, and main are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jho406 jho406 closed this Oct 7, 2026
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