Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
JSON::GenericObject#as_json
as_json(*)
ext/json/lib/json/generic_object.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/json/lib/json/generic_object.rb, line 63
def as_json(*)
{ JSON.create_id => self.class.name }.merge to_hash
end
No documentation available