{"id":28322459,"url":"https://github.com/zhaskell/z-messagepack","last_synced_at":"2025-08-01T12:04:54.710Z","repository":{"id":52935900,"uuid":"328894654","full_name":"ZHaskell/z-messagepack","owner":"ZHaskell","description":"MessagePack codec","archived":false,"fork":false,"pushed_at":"2021-04-26T04:26:14.000Z","size":120,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T22:28:55.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZHaskell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-12T06:34:42.000Z","updated_at":"2024-11-07T16:18:46.000Z","dependencies_parsed_at":"2022-08-26T01:40:45.769Z","dependency_job_id":null,"html_url":"https://github.com/ZHaskell/z-messagepack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZHaskell/z-messagepack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZHaskell%2Fz-messagepack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZHaskell%2Fz-messagepack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZHaskell%2Fz-messagepack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZHaskell%2Fz-messagepack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZHaskell","download_url":"https://codeload.github.com/ZHaskell/z-messagepack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZHaskell%2Fz-messagepack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261558894,"owners_count":23177104,"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":"2025-05-25T14:09:58.766Z","updated_at":"2025-06-23T21:32:16.938Z","avatar_url":"https://github.com/ZHaskell.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Z-MessagePack\n\n[![Hackage](https://img.shields.io/hackage/v/Z-MessagePack.svg?style=flat)](https://hackage.haskell.org/package/Z-MessagePack)\n[![Linux Build Status](https://github.com/haskell-Z/z-messagepack/workflows/ubuntu-ci/badge.svg)](https://github.com/haskell-Z/z-messagepack/actions)\n[![MacOS Build Status](https://github.com/haskell-Z/z-messagepack/workflows/osx-ci/badge.svg)](https://github.com/haskell-Z/z-messagepack/actions)\n[![Windows Build Status](https://github.com/haskell-Z/z-messagepack/workflows/win-ci/badge.svg)](https://github.com/haskell-Z/z-messagepack/actions)\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/Z-Haskell/community)\n\nThis package is part of [Z](https://github.com/haskell-Z/Z) project, provides MessagePack codecs.\n\n## Requirements\n\n* A working haskell compiler system, GHC(\u003e=8.6), cabal-install(\u003e=2.4), hsc2hs.\n\n* Tests need [hspec-discover](https://hackage.haskell.org/package/hspec-discover).\n\n## Example usage\n\n```haskell\n{-# LANGUAGE DeriveGeneric, DeriveAnyClass, DerivingStrategies, TypeApplication #-}\n\nimport           GHC.Generics\nimport qualified Z.MessagePack as MessagePack\nimport           Z.MessagePack (MessagePack)\nimport qualified Z.Data.Text as T\n\ndata Person = Person\n    { name  :: T.Text\n    , age   :: Int\n    , magic :: Bool\n    }\n  deriving (Show, Generic)\n  deriving anyclass MessagePack\n\n\u003e MessagePack.encode [Person {name = \"Erik Weisz\", age = 52, magic = True}]\n\u003e [145,131,164,110,97,109,101,170,69,114,105,107,32,87,101,105,115,122,163,97,103,101,52,165,109,97,103,105,99,195]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaskell%2Fz-messagepack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaskell%2Fz-messagepack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaskell%2Fz-messagepack/lists"}