{"id":13508969,"url":"https://github.com/mururu/msgpack-elixir","last_synced_at":"2025-04-04T16:32:46.102Z","repository":{"id":6729913,"uuid":"7975857","full_name":"mururu/msgpack-elixir","owner":"mururu","description":"MessagePack Implementation for Elixir / msgpack.org[Elixir]","archived":false,"fork":false,"pushed_at":"2017-06-07T03:50:45.000Z","size":376,"stargazers_count":70,"open_issues_count":2,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-20T15:40:14.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mururu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-02T13:01:26.000Z","updated_at":"2023-08-20T03:26:06.000Z","dependencies_parsed_at":"2022-08-24T18:00:46.493Z","dependency_job_id":null,"html_url":"https://github.com/mururu/msgpack-elixir","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mururu%2Fmsgpack-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mururu%2Fmsgpack-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mururu%2Fmsgpack-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mururu%2Fmsgpack-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mururu","download_url":"https://codeload.github.com/mururu/msgpack-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247209652,"owners_count":20901833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:01:01.146Z","updated_at":"2025-04-04T16:32:45.813Z","avatar_url":"https://github.com/mururu.png","language":"Elixir","funding_links":[],"categories":["Protocols"],"sub_categories":[],"readme":"# MessagePack for Elixir\n\n[![Build Status](https://travis-ci.org/mururu/msgpack-elixir.png?branch=master)](https://travis-ci.org/mururu/msgpack-elixir)\n\n## Installation\n\nAdd `:message_pack` as a dependency in your `mix.exs` file.\n\n```elixir\ndefp deps do\n  [{:message_pack, \"~\u003e 0.2.0\"}]\nend\n```\n\n## Usage\n\n```elixir\n# pack\nMessagePack.pack([1,2,3]) #=\u003e { :ok, \u003c\u003c147,1,2,3\u003e\u003e }\nMessagePack.pack!([1,2,3]) #=\u003e \u003c\u003c147,1,2,3\u003e\u003e\n\n# unpack\nMessagePack.unpack(\u003c\u003c147,1,2,3\u003e\u003e) #=\u003e { :ok, [1,2,3] }\nMessagePack.unpack!(\u003c\u003c147,1,2,3\u003e\u003e) #=\u003e [1,2,3]\n\n# unpack_once\nMessagePack.unpack_once(\u003c\u003c147,1,2,3,4\u003e\u003e) #=\u003e {:ok, {[1, 2, 3], \u003c\u003c4\u003e\u003e}}\nMessagePack.unpack_once!(\u003c\u003c147,1,2,3,4\u003e\u003e) #=\u003e {[1, 2, 3], \u003c\u003c4\u003e\u003e}\n```\n\n## Options\n\n* `enable_string`\n\nSupport string type. This options is `false` by default.\n\n```elixir\niex(1)\u003e { :ok, bin } = MessagePack.pack(\u003c\u003c255\u003e\u003e)\n{:ok, \u003c\u003c161, 255\u003e\u003e}\niex(3)\u003e MessagePack.unpack(\u003c\u003c161, 255\u003e\u003e)\n{:ok, \u003c\u003c255\u003e\u003e}\niex(4)\u003e MessagePack.unpack(\u003c\u003c161, 255\u003e\u003e, enable_string: true)\n{:error, {:invalid_string, \u003c\u003c255\u003e\u003e}}\n```\n\n* `ext`\n\nSupport extention type.\n\nSee `test/message_pack_ext_test.exs`.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmururu%2Fmsgpack-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmururu%2Fmsgpack-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmururu%2Fmsgpack-elixir/lists"}