class

ActiveRecord::Encryption::MessagePackMessageSerializer

v8.1.1 - Show latest stable - Superclass: Object

A message serializer that serializes Messages with MessagePack.

The message is converted to a hash with this structure:

{
  p: <payload>,
  h: {
    header1: value1,
    header2: value2,
    ...
  }
}

Then it is converted to the MessagePack format.

Files

  • activerecord/lib/active_record/encryption/message_pack_message_serializer.rb