MessagePack
It's like JSON. but fast and small.
MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Implementations
- MessagePack for Python
- https://github.com/msgpack/msgpack-python
-
pip install msgpack
- 이게 기본인듯?
- MessagePack for JavaScript/ECMA-262
- https://github.com/msgpack/msgpack-javascript
-
npm install @msgpack/msgpack
- MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
- https://github.com/neuecc/MessagePack-CSharp
- Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
Libraries
- msgpack-numpy - numpy 객체를 msgpack 으로 직렬화.
See also
- JSON
- 직렬화 (Serialization)
- MemoryPack - C# 및 Unity를 위한 초고성능 제로 인코딩 바이너리 시리얼라이저