diff --git a/Gemfile b/Gemfile index 62a2914..c9d2029 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source "http://rubygems.org" gemspec -gem 'yajl-ruby' +gem 'oj' gem 'libxml-ruby' group :test do diff --git a/README.md b/README.md index 417473c..bf38312 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ After the template is compiled into a hash, Rabl-rails will use a renderer to do ## Configuration -RablRails works out of the box, with default options and fastest engine available (yajl, libxml). But depending on your needs, you might want to change that or how your output looks like. You can set global configuration in your application: +RablRails works out of the box, with default options and fastest engine available (oj, libxml). But depending on your needs, you might want to change that or how your output looks like. You can set global configuration in your application: ```ruby # config/initializers/rabl_rails.rb @@ -91,7 +91,7 @@ RablRails works out of the box, with default options and fastest engine availabl # These are the default # config.cache_templates = true # config.include_json_root = true - # config.json_engine = :yajl + # config.json_engine = :oj # config.xml_engine = 'LibXML' end ```