Need help with msgpax?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

lexmag
243 Stars 31 Forks ISC License 185 Commits 4 Opened issues

Description

High-performance and comprehensive MessagePack implementation for Elixir / msgpack.org[Elixir]

Services available

!
?

Need anything else?

Contributors list

# 27,844
Elixir
Apache ...
Erlang
data-ge...
128 commits
# 22,977
Elixir
Apache ...
Erlang
elixir-...
31 commits
# 46,894
Elixir
Bootstr...
Rails
Less
5 commits
# 194,259
XML
Elixir
Erlang
React
4 commits
# 391,749
C
encrypt...
tox
Python
1 commit
# 321,267
Elixir
msgpack
Perl
Erlang
1 commit
# 68,459
Elixir
Erlang
phoenix...
ecto
1 commit
# 87,927
Elixir
sidekiq
elixir-...
bucket
1 commit
# 134,101
Elixir
elixir-...
dummy
dalvik
1 commit
# 50,454
C#
akka
Go
gRPC
1 commit
# 199,887
Postgre...
Erlang
Elixir
HTML
1 commit

Msgpax

CI Status Hex Version

Msgpax is a fast and comprehensive library for serializing and deserializing Elixir terms using the MessagePack format.

Documentation is available online.

Features

  • Packing and unpacking Elixir terms via
    Msgpax.pack/1
    and
    Msgpax.unpack/1
    (and their bang! variants).
  • Unpacking of partial slices of MessagePack-encoded terms via
    Msgpax.unpack_slice/1
    .
  • Support for "Binary" and "Extension" MessagePack types via
    Msgpax.Bin
    and
    Msgpax.Ext
    , respectively.
  • Protocol-based packing through the
    Msgpax.Packer
    protocol, that can be derived for user-defined structs.
  • A Plug parser (
    Msgpax.PlugParser
    ) to parse requests with MessagePack-encoded bodies.
  • Support for MessagePack data fragment manipulation.

A detailed table that shows the relationship between Elixir types and MessagePack types can be found in the documentation for the

Msgpax
module.

Installation

Add

:msgpax
as a dependency in your
mix.exs
file:
def deps do
  [{:msgpax, "~> 2.0"}]
end

Then, run

mix deps.get
in your shell to fetch the new dependency.

License

Msgpax is released under the ISC license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.