Skip to content

Remove create_additions option on default JSON parsers - #202

Open
yosangwon wants to merge 4 commits into
rack:mainfrom
yosangwon:bye-create-additions
Open

yosangwon wants to merge 4 commits into
rack:mainfrom
yosangwon:bye-create-additions

Conversation

@yosangwon

Copy link
Copy Markdown

Fixes #201

It doesn't use create_additions at all, so we can just pull these options out and explicitly add json > 3.0 to the gemspec.

As this gem only callsJSON with .parse, so I took the json > 3.0 instead of json ~> 3.0. (I wish there wouldn't be a breaking changes on JSON.parse.)

minimum ruby version for rack gem is now >= 2.7.3 and json requires > 2.7 so I thought it's okay to add dependency and update contribute guideline.

It looked like test cases have been failing since Ruby 3.4 with Hash#inspect changes, so I did some changes on test cases as well.

@yosangwon
yosangwon force-pushed the bye-create-additions branch from 8162dc3 to 926c951 Compare October 26, 2026 11:35
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.

JSON v3 support

1 participant