ruby / json

JSON implementation for Ruby
https://ruby.github.io/json
Other
673 stars 326 forks source link

Use rb_sym2str instead of SYM2ID #561

Closed jhawthorn closed 10 months ago

jhawthorn commented 10 months ago

This avoids pinning an id to the symbol used if a dynamic symbol is passed in as a hash key.

rb_sym2str is available in Ruby 2.2+ and json depends on >= 2.3.

hsbt commented 10 months ago

👍