Class: Representors::HalDeserializer
- Inherits:
-
HaleDeserializer
- Object
- SerializationBase
- DeserializerBase
- HaleDeserializer
- Representors::HalDeserializer
- Defined in:
- lib/representors/serialization/hal_deserializer.rb
Overview
Deserializes the HAL format as specified in stateless.co/hal_specification.html For examples of how this format looks like check the files under spec/fixtures/hal TODO: support Curies www.w3.org/TR/2010/NOTE-curie-20101216/
Constant Summary collapse
- HAL_LINK_KEYS =
%w(href templated type deprecation name profile title hreflang)
Constants inherited from HaleDeserializer
Representors::HaleDeserializer::CURIE_KEY, Representors::HaleDeserializer::DATA_KEY, Representors::HaleDeserializer::EMBEDDED_KEY, Representors::HaleDeserializer::HREF, Representors::HaleDeserializer::LINKS_KEY, Representors::HaleDeserializer::META_KEY, Representors::HaleDeserializer::OPTIONS_KEY, Representors::HaleDeserializer::REF_KEY, Representors::HaleDeserializer::RESERVED_FIELD_VALUES
Instance Attribute Summary
Attributes inherited from SerializationBase
Method Summary
Methods inherited from HaleDeserializer
Methods inherited from DeserializerBase
inherited, #initialize, #to_representor, #to_representor_hash
Methods inherited from SerializationBase
Methods included from RepresentorSupport::Utilities
#deep_dup, #dup_or_self, #map_or_apply, #symbolize_keys
Constructor Details
This class inherits a constructor from Representors::DeserializerBase