Class: Synapse::Serialization::OjSerializer
- Inherits:
-
Serializer
- Object
- Serializer
- Synapse::Serialization::OjSerializer
- Defined in:
- lib/synapse/serialization/serializer/oj.rb
Overview
Implementation of a serializer that uses the Optimized JSON (Oj) marshaling library
Instance Attribute Summary collapse
-
#deserialize_options ⇒ Hash
Options that will be passed to the Oj load method.
-
#serialize_options ⇒ Hash
Options that will be passed to the Oj dump method.
Attributes inherited from Serializer
#converter_factory, #revision_resolver
Method Summary
Methods inherited from Serializer
#can_serialize_to?, #class_for, #deserialize, #initialize, #serialize, #type_for
Constructor Details
This class inherits a constructor from Synapse::Serialization::Serializer
Instance Attribute Details
#deserialize_options ⇒ Hash
Returns Options that will be passed to the Oj load method.
11 12 13 |
# File 'lib/synapse/serialization/serializer/oj.rb', line 11 def @deserialize_options end |
#serialize_options ⇒ Hash
Returns Options that will be passed to the Oj dump method.
8 9 10 |
# File 'lib/synapse/serialization/serializer/oj.rb', line 8 def @serialize_options end |