Module: MessageStore::Postgres::Get::Deserialize
- Defined in:
- lib/message_store/postgres/get.rb
Class Method Summary collapse
Class Method Details
.data(serialized_data) ⇒ Object
141 142 143 144 |
# File 'lib/message_store/postgres/get.rb', line 141 def self.data(serialized_data) return nil if serialized_data.nil? Transform::Read.(serialized_data, :json, MessageData::Hash) end |
.metadata(serialized_metadata) ⇒ Object
146 147 148 149 |
# File 'lib/message_store/postgres/get.rb', line 146 def self.() return nil if .nil? Transform::Read.(, :json, MessageData::Hash) end |