1 gem 'multi_json', '>= 1.0.0'
4 if !MultiJson.respond_to?(:load) || [
5 defined?(Kernel) && Kernel,
6 defined?(ActiveSupport::Dependencies::Loadable) && ActiveSupport::Dependencies::Loadable
7 ].compact.include?(MultiJson.method(:load).owner)
14 if !MultiJson.respond_to?(:dump)