-
Notifications
You must be signed in to change notification settings - Fork 333
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
JSON.dump does not work in version 2.7.0 when the argument is an implicit Hash #553
Comments
Uaitt
changed the title
JSON.dump does not work anymore when the argument is an implicit Hash
JSON.dump does not work in version 2.7.0 when the argument is an implicit Hash
Dec 1, 2023
What's your Ruby version? |
3.2.2 @hsbt |
casperisfine
pushed a commit
to casperisfine/json
that referenced
this issue
Dec 1, 2023
Fix: ruby#553 We can never add keyword arguments to `dump` otherwise existing code using unenclosed hash will break.
I think I have a fix: #554 |
@Uaitt Thank you for your report. I will release 2.7.1 with #554 in next week. @casperisfine Thanks always ❤️ |
@hsbt and @casperisfine thanks a lot for the quick fix to both of you 😃 |
JamieMagee
added a commit
to dependabot/dependabot-core
that referenced
this issue
Dec 1, 2023
8 tasks
matzbot
pushed a commit
to ruby/ruby
that referenced
this issue
Dec 5, 2023
Fix: ruby/json#553 We can never add keyword arguments to `dump` otherwise existing code using unenclosed hash will break. ruby/json@8e0076a3f2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On version 2.6.3
On version 2.7.0
In order to get it to work in 2.7.0 you need to do:
The problem lies in this change 978ee15#diff-e08e7b431f64661c031319f3bbbec311665959cd74a86f605975fe62ffe8c93d
The text was updated successfully, but these errors were encountered: