Class: EventQ::SerializationProviders::JRuby::Oj::Serializer
- Inherits:
-
Object
- Object
- EventQ::SerializationProviders::JRuby::Oj::Serializer
- Defined in:
- lib/eventq_base/serialization_providers/jruby/oj/serializer.rb
Instance Method Summary collapse
Instance Method Details
#dump(obj) ⇒ Object
6 7 8 |
# File 'lib/eventq_base/serialization_providers/jruby/oj/serializer.rb', line 6 def dump(obj) JSON.dump(AttributeWriter.exec(obj)) end |
#load(json) ⇒ Object
10 11 12 |
# File 'lib/eventq_base/serialization_providers/jruby/oj/serializer.rb', line 10 def load(json) raise NotImplementedError.new("[#{self.class}] - #load method has not yet been implemented.") end |