Module: Codecs::UnknownCodec
- Defined in:
- lib/emery/codecs.rb
Class Method Summary collapse
- .applicable?(type) ⇒ Boolean
- .deserialize(type, json_value) ⇒ Object
- .serialize(type, value) ⇒ Object
Class Method Details
.applicable?(type) ⇒ Boolean
17 18 19 |
# File 'lib/emery/codecs.rb', line 17 def self.applicable?(type) type.instance_of? T::UnknownType end |
.deserialize(type, json_value) ⇒ Object
20 21 22 |
# File 'lib/emery/codecs.rb', line 20 def self.deserialize(type, json_value) json_value end |
.serialize(type, value) ⇒ Object
23 24 25 |
# File 'lib/emery/codecs.rb', line 23 def self.serialize(type, value) value end |