All Projects → msgpack → msgpack-smalltalk

msgpack / msgpack-smalltalk

Licence: other
MessagePack serialization library for various Smalltalk dialects / msgpack.org[Smalltalk]

Programming Languages

smalltalk
420 projects

Projects that are alternatives of or similar to msgpack-smalltalk

Ceras
Universal binary serializer for a wide variety of scenarios https://discord.gg/FGaCX4c
Stars: ✭ 374 (+1600%)
Mutual labels:  serialization, msgpack
Msgpack Cli
MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]
Stars: ✭ 761 (+3359.09%)
Mutual labels:  serialization, msgpack
Airframe
Essential Building Blocks for Scala
Stars: ✭ 442 (+1909.09%)
Mutual labels:  serialization, msgpack
sbp
Structured Bindings Pack - serialize C++ structs into MessagePack binary form
Stars: ✭ 16 (-27.27%)
Mutual labels:  serialization, msgpack
Swiftmsgpack
💬 Fast & Lightweight MsgPack Serializer & Deserializer for Swift
Stars: ✭ 128 (+481.82%)
Mutual labels:  serialization, msgpack
Messagepack Csharp
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
Stars: ✭ 3,668 (+16572.73%)
Mutual labels:  serialization, msgpack
Msgpack Rust
MessagePack implementation for Rust / msgpack.org[Rust]
Stars: ✭ 561 (+2450%)
Mutual labels:  serialization, msgpack
Cpp Serializers
Benchmark comparing various data serialization libraries (thrift, protobuf etc.) for C++
Stars: ✭ 533 (+2322.73%)
Mutual labels:  serialization, msgpack
Msgpack
msgpack.org[Go] MessagePack encoding for Golang
Stars: ✭ 1,353 (+6050%)
Mutual labels:  serialization, msgpack
Msgpack Scala
MessagePack serializer implementation for Scala / msgpack.org[Scala]
Stars: ✭ 87 (+295.45%)
Mutual labels:  serialization, msgpack
msgpack-perl
MessagePack serializer implementation for Perl / msgpack.org[Perl]
Stars: ✭ 48 (+118.18%)
Mutual labels:  serialization, msgpack
Mashumaro
Fast and well tested serialization framework on top of dataclasses
Stars: ✭ 208 (+845.45%)
Mutual labels:  serialization, msgpack
metacello
Metacello is a package management system for Smalltalk
Stars: ✭ 79 (+259.09%)
Mutual labels:  squeak, pharo
Msgpack.php
A pure PHP implementation of the MessagePack serialization format / msgpack.org[PHP]
Stars: ✭ 327 (+1386.36%)
Mutual labels:  serialization, msgpack
Msgpack11
A tiny MessagePack library for C++11 (msgpack.org[C++11])
Stars: ✭ 78 (+254.55%)
Mutual labels:  serialization, msgpack
Srsly
🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
Stars: ✭ 189 (+759.09%)
Mutual labels:  serialization, msgpack
SIXX
SIXX is an XML serializer/deserializer written in Smalltalk. The purpose is to store and load Smalltalk objects in a portable, dialect-independent XML format.
Stars: ✭ 14 (-36.36%)
Mutual labels:  squeak, pharo
Json-to-Dart-Model
marketplace.visualstudio.com/items?itemName=hirantha.json-to-dart
Stars: ✭ 84 (+281.82%)
Mutual labels:  serialization
break-fast-serial
A proof of concept that demonstrates asynchronous scanning for Java deserialization bugs
Stars: ✭ 53 (+140.91%)
Mutual labels:  serialization
jim
Immediate Mode JSON Serialization Library in C
Stars: ✭ 35 (+59.09%)
Mutual labels:  serialization

msgpack-smalltalk

MessagePack serialization library for various Smalltalk dialects.

  • Squeak
  • Pharo
  • VisualWorks
  • VA Smalltalk
  • Dolphin Smalltalk
  • GNU Smalltalk (Beta)
  • Cuis

Sources are put as Cypress for the neutral accesses from various Smalltalk dialects.

How to use

Serialization

MpMessagePack pack: <your object>

or:

<your object> messagePacked

Deserialization

MpMessagePack unpack: msgpackBytes

or:

Object fromMessagePack: msgBytes

Samples

map := Dictionary new.
map at: 'someArray' asByteArray put: #(1 2.2 #[3 4 5]).
packed := map messagePacked.
(Object fromMessagePack: packed) inspect.
writeStream := WriteStream on: ByteArray new.
encoder := MpEncoder on: writeStream.
encoder nextPut: 1.
encoder nextPut: #(2 3).
dic := Dictionary new.
dic at: 4 put: 5.
encoder nextPut: dic.
encoder nextPut: 'four' asByteArray.
bytes := encoder contents.
readStream := ReadStream on: bytes.
decoder := MpDecoder on: readStream.
[decoder atEnd] whileFalse: [
        Transcript cr; show: decoder next printString
]

How to install

Please read HowToInstall.md.

Loading the latest development version

Squeak

Installer squeaksource
    project: 'MessagePack';
    install: 'ConfigurationOfMessagePack'. 
(Smalltalk at: #ConfigurationOfMessagePack) project development load

Pharo

Metacello new
  repository: 'github://msgpack/msgpack-smalltalk/repository';
  baseline: 'MessagePack';
  load.

You might need MpTypeMapper initializeAll on new encoder/decoder-related updates.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].