| Class | Sequel::Plugins::JsonSerializer::Literal |
| In: |
lib/sequel/plugins/json_serializer.rb
|
| Parent: | Object |
Helper class used for making sure that cascading options for model associations works correctly. Cascaded options work by creating instances of this class, which take a literal JSON string and have to_json return it.
Store the literal JSON to use
# File lib/sequel/plugins/json_serializer.rb, line 81
81: def initialize(json)
82: @json = json
83: end