Path: | lib/rabl/json_engine.rb |
Last Update: | Wed Dec 12 05:53:58 -0500 2012 |
Defines the default JSON engine for RABL when rendering JSON is invoked on a template. You can define your own json engine by creating an object that responds to the `encode` method and setting the corresponding configuration option:
config.json_engine = ActiveSupport::JSON