Class: Representors::HalDeserializer

Inherits:
HaleDeserializer show all
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

%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

#target

Method Summary

Methods inherited from HaleDeserializer

#to_representor_hash

Methods inherited from DeserializerBase

inherited, #initialize, #to_representor, #to_representor_hash

Methods inherited from SerializationBase

media_symbols, media_types

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