[ruby/json] Add tests for the behavior of JSON.generate with base types subclasses
Ref: https://github.com/ruby/json/pull/674 Ref: https://github.com/ruby/json/pull/668
The behavior on such case it quite unclear, the goal here is to figure out whatever was the behavior on Cext version of json 2.7.0 and get all implementations to converge.
json 2.7.0
We can then decide to make them all behave differently if we so wish.
https://github.com/ruby/json/commit/614921dcef
[ruby/json] Add tests for the behavior of JSON.generate with base types subclasses
Ref: https://github.com/ruby/json/pull/674
Ref: https://github.com/ruby/json/pull/668
The behavior on such case it quite unclear, the goal here is to
figure out whatever was the behavior on Cext version of
json 2.7.0
and get all implementations to converge.
We can then decide to make them all behave differently if we so wish.
https://github.com/ruby/json/commit/614921dcef