[ruby/json] Move create_addtions logic in Ruby.
create_addtions
By leveraging the on_load callback we can move all this logic out of the parser. Which mean we no longer have to duplicate that logic in both parser and that we'll later be able to extract it entirely from the gem.
on_load
https://github.com/ruby/json/commit/f411ddf1ce
[ruby/json] Move
create_addtions
logic in Ruby.By leveraging the
on_load
callback we can move all this logicout of the parser. Which mean we no longer have to duplicate
that logic in both parser and that we'll later be able to extract
it entirely from the gem.
https://github.com/ruby/json/commit/f411ddf1ce