```ruby
Solid::MethodWhitelist
	.allow(
		BasicObject => [:!, :!=, :==],
		Object => [:present?, :blank?, :in?, :to_json],
		Kernel => [:nil?, :!~],
		Module => [:==],
		Enumerable => [:sort],
		Comparable => [:<, :<=, :==, :>, :>=, :between?],
    Numeric => [:blank?,
      :second, :seconds, :minute, :minutes, :hour, :hours, :day, :days, :week, :weeks,
      :bytes, :kilobytes, :megabytes, :gigabytes, :terabytes, :petabytes, :exabytes],
    Integer => [:multiple_of?, :month, :months, :year, :years, :to_json],
	).deny(
		Module => [:const_get, :const_set, :const_defined?, :freeze, :ancestors],
		Class => [:new, :allocate, :superclass],
	)
```

Allow to_json for Integer and Bignum instances under 1.9.3
user
```ruby
Solid::MethodWhitelist
	.allow(
		BasicObject => [:!, :!=, :==],
		Object => [:present?, :blank?, :in?, :to_json],
		Kernel => [:nil?, :!~],
		Module => [:==],
		Enumerable => [:sort],
		Comparable => [:<, :<=, :==, :>, :>=, :between?],
    Numeric => [:blank?,
      :second, :seconds, :minute, :minutes, :hour, :hours, :day, :days, :week, :weeks,
      :bytes, :kilobytes, :megabytes, :gigabytes, :terabytes, :petabytes, :exabytes],
    Integer => [:multiple_of?, :month, :months, :year, :years, :to_json],
	).deny(
		Module => [:const_get, :const_set, :const_defined?, :freeze, :ancestors],
		Class => [:new, :allocate, :superclass],
	)

if defined?(JSON::Ext::Generator::GeneratorMethods)
  Solid::MethodWhitelist.allow(
    JSON::Ext::Generator::GeneratorMethods::Fixnum => [:to_json],
    JSON::Ext::Generator::GeneratorMethods::Bignum => [:to_json],
  )
end
```
assistant