Class: Synapse::Serialization::MarshalSerializer

Inherits:
Serializer
  • Object
show all
Defined in:
lib/synapse/serialization/serializer/marshal.rb

Overview

Implementation of a serializer that uses the built-in marshaling library

Note that this serializer is not necessarily the fastest serializer available, nor is it flexible. Output is binary and difficult to modify, which means upcasting is not possible when using this serializer.

This serializer wraps the binary output of Marshal in Base64 encoding.

Instance Attribute Summary

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