End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Date.json_create
json_create(object)
ext/json/lib/json/add/date.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/json/lib/json/add/date.rb, line 11
def self.json_create(object)
civil(*object.values_at('y', 'm', 'd', 'sg'))
end