MicroPython MessagePack
An efficient drop-in binary alternative to JSON.
0. Contents
- Introduction↗ (opens in a new tab)
1.1 Supported Types↗ (opens in a new tab) List of supported data types.
1.2 Library update↗ (opens in a new tab) Changes in release 0.2.0.
1.2.1 Extended built-in classes↗ (opens in a new tab)
1.2.2 Asynchronous unpacking↗ (opens in a new tab) Use with streaming data.
1.3 Comprssion performance↗ (opens in a new tab) - The MicroPython implementation↗ (opens in a new tab)
2.1 Inter-operation↗ (opens in a new tab) Standard compliance: data exchange with other systems. - Installation↗ (opens in a new tab)
3.1 Quick install↗ (opens in a new tab)
3.2 Files↗ (opens in a new tab) List of installed files.
3.3 Manual install↗ (opens in a new tab) Doing it the hard way. - API↗ (opens in a new tab) User interface.
4.1 Load options↗ (opens in a new tab) Specialist options.
4.2 Dump options↗ (opens in a new tab) - Extension modules↗ (opens in a new tab) Using extension modules to process additional built-in types.
- Extending umsgpack↗ (opens in a new tab) Writing extensions.
6.1 Serialisable user classes↗ (opens in a new tab)
6.2 Adding built-in types↗ (opens in a new tab) - Asynchronous use↗ (opens in a new tab) Use with streaming I/O.
7.1 Serialisation↗ (opens in a new tab)
7.2 De-serialisation↗ (opens in a new tab)
7.2.1 The Observer object↗ (opens in a new tab) Optionally observe the data stream. - Exceptions↗ (opens in a new tab)
- Test suite↗ (opens in a new tab)
- Changes for MicroPython↗ (opens in a new tab) Brief summary of changes for microcontroller use.
- Notes on extension classes↗ (opens in a new tab) Detailed "how it works" notes.
- Measurement of RAM usage