# File lib/rufus/json.rb, line 74 def self.detect_backend @backend = if defined?(::Yajl) YAJL elsif defined?(::JSON) JSON elsif defined?(ActiveSupport::JSON) ACTIVE_SUPPORT else NONE end end