Browse files

Prefer JrJackson to JSON gem if present

  • Loading branch information...
jgwmaxwell committed Apr 20, 2013
1 parent 905a628 commit af8bd9799a66855f04b3aff1c488485950cec7bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/multi_json.rb
@@ -47,8 +47,8 @@ def default_options=(value)
def default_adapter
return :oj if defined?(::Oj)
return :yajl if defined?(::Yajl)
- return :json_gem if defined?(::JSON)
return :jr_jackson if defined?(::JrJackson)
+ return :json_gem if defined?(::JSON)
return :gson if defined?(::Gson)
REQUIREMENT_MAP.each do |(library, adapter)|

0 comments on commit af8bd97

Please sign in to comment.