Payload Design: JSON, CBOR and Binary Formats
Design messages that are small, clear and safe to evolve: JSON field names, units and timestamps, schema versions, integer scaling instead of floats, CBOR and Protocol Buffers, fixed binary layouts with Python's struct and byte order, base64 overhead, and how to measure the cost of every format against your link and battery budget.
Payload Design: JSON, CBOR and Binary Formats
Design messages that are small, clear and safe to evolve: JSON field names, units and timestamps, schema versions, integer scaling instead of floats, CBOR and Protocol Buffers, fixed binary layouts with Python's struct and byte order, base64 overhead, and how to measure the cost of every format against your link and battery budget.
In this lesson:
- payload
- json
- cbor
- protobuf
- binary
- struct
- base64
- schema
- timestamp
Official References
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans