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