Module: Serializer
- Defined in:
- lib/serializer.rb,
lib/serializer/manifest.rb,
lib/serializer/serializable.rb
Overview
Note:
Copyright © 2012 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved. See LICENSE for details.
Serializer is a module containing classes whose methods faciliate serialization of data fields to various formats. To obtain those benefits, a dependent class should inherit from Serializable or Manifest depending on whether XML serialization is required.
Data Model
-
Serializable = utility methods to faciliate serialization to Hash, JSON, or YAML
-
Manifest = adds methods for marshalling/unmarshalling data to a persistent XML file format
-
Defined Under Namespace
Classes: Manifest, Serializable