{"id":13770370,"url":"https://github.com/msgpack/msgpack-smalltalk","last_synced_at":"2025-09-02T20:39:06.168Z","repository":{"id":3995610,"uuid":"5092599","full_name":"msgpack/msgpack-smalltalk","owner":"msgpack","description":"MessagePack serialization library for various Smalltalk dialects / msgpack.org[Smalltalk]","archived":false,"fork":false,"pushed_at":"2025-05-19T12:42:32.000Z","size":211,"stargazers_count":22,"open_issues_count":0,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-27T08:53:23.163Z","etag":null,"topics":["cuis","msgpack","pharo","serialization","smalltalk","squeak"],"latest_commit_sha":null,"homepage":"http://msgpack.org/","language":"Smalltalk","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/msgpack.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-07-18T06:39:10.000Z","updated_at":"2025-05-19T12:41:00.000Z","dependencies_parsed_at":"2024-07-24T17:03:35.796Z","dependency_job_id":"5518197e-5b6a-4d95-a165-191b714f47c1","html_url":"https://github.com/msgpack/msgpack-smalltalk","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/msgpack/msgpack-smalltalk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msgpack%2Fmsgpack-smalltalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msgpack%2Fmsgpack-smalltalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msgpack%2Fmsgpack-smalltalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msgpack%2Fmsgpack-smalltalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msgpack","download_url":"https://codeload.github.com/msgpack/msgpack-smalltalk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msgpack%2Fmsgpack-smalltalk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273346333,"owners_count":25089376,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cuis","msgpack","pharo","serialization","smalltalk","squeak"],"created_at":"2024-08-03T17:00:36.603Z","updated_at":"2025-09-02T20:39:06.107Z","avatar_url":"https://github.com/msgpack.png","language":"Smalltalk","readme":"msgpack-smalltalk\n=================\n[![CI](https://github.com/msgpack/msgpack-smalltalk/actions/workflows/main.yml/badge.svg)](https://github.com/msgpack/msgpack-smalltalk/actions/workflows/main.yml)\n\nMessagePack serialization library for various Smalltalk dialects.\n\n- Squeak\n- Pharo\n- VisualWorks\n- VA Smalltalk\n- Dolphin Smalltalk\n- GNU Smalltalk (Beta)\n- [Cuis](https://github.com/mumez/Cuis-Smalltalk-MessagePack)\n\nSources are put as [Cypress](https://github.com/CampSmalltalk/Cypress/blob/master/README.md) for the neutral accesses from various Smalltalk dialects.\n\n## How to use ##\n\n### Serialization ###\n```Smalltalk\nMpMessagePack pack: \u003cyour object\u003e\n```\nor:\n```Smalltalk\n\u003cyour object\u003e messagePacked\n```\n\n### Deserialization ###\n```Smalltalk\nMpMessagePack unpack: msgpackBytes\n```\nor:\n```Smalltalk\nObject fromMessagePack: msgBytes\n```\n\n### Samples ###\n\n```Smalltalk\nmap := Dictionary new.\nmap at: 'someArray' asByteArray put: #(1 2.2 #[3 4 5]).\npacked := map messagePacked.\n(Object fromMessagePack: packed) inspect.\n```\n\n```Smalltalk\nwriteStream := WriteStream on: ByteArray new.\nencoder := MpEncoder on: writeStream.\nencoder nextPut: 1.\nencoder nextPut: #(2 3).\ndic := Dictionary new.\ndic at: 4 put: 5.\nencoder nextPut: dic.\nencoder nextPut: 'four' asByteArray.\nbytes := encoder contents.\nreadStream := ReadStream on: bytes.\ndecoder := MpDecoder on: readStream.\n[decoder atEnd] whileFalse: [\n        Transcript cr; show: decoder next printString\n]\n```\n### How to install\nPlease read [HowToInstall.md](\u003chttps://github.com/msgpack/msgpack-smalltalk/blob/master/doc/HowToInstall.md\u003e).\n\n### Loading the latest development version\n\n#### Squeak 4\n```Smalltalk\nInstaller squeaksource\n    project: 'MessagePack';\n    install: 'ConfigurationOfMessagePack'. \n(Smalltalk at: #ConfigurationOfMessagePack) project development load\n```\n\n#### Pharo \u0026 Squeak 5+\n```Smalltalk\nMetacello new\n  baseline: 'MessagePack';\n  repository: 'github://msgpack/msgpack-smalltalk:develop/repository';\n  load.\n```\n\nYou might need ```MpTypeMapper initializeAll ``` on new encoder/decoder-related updates.\n\n#### Limitation on Squeak 5+\n\nStarting with Squeak 5 and 6, DateAndTime only supports microsecond precision. Because of this, nanosecond values are not properly decoded as DateAndTime.\nTwo unit tests (testPackUnpackTimestamp64, 96) fail on Squeak 5 and 6.\n","funding_links":[],"categories":["Data interexchange format"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsgpack%2Fmsgpack-smalltalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsgpack%2Fmsgpack-smalltalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsgpack%2Fmsgpack-smalltalk/lists"}