json_engine.rb

Path: lib/rabl/json_engine.rb
Last Update: Wed Dec 12 05:56:43 -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

Required files

multi_json   singleton  

[Validate]