Serialization and JSON on Arduino
14.2 هزار بار بازدید -
5 سال پیش
-
An introduction to serialization and
An introduction to serialization and JSON for Arduino users.
This video contains the presentation I did for the Maker Mind Meld Summit in December 2019.
Of course, this version cannot be as good as the original because Peter is missing. However, it's still worth watching because it teaches how to implement serialization from scratch (i.e., without any library), and it covers a lot of topics: binary vs text, payload size, performance, portability, etc.
The presentation is centered around JSON, but it also covers other serialization formats, including custom binary format, XML, and protocol buffers.
You'll see the pros and cons of each approach, and I'll give you my recommendation to use the right format for your project.
Maker Mind Melt: https://techexplorations.com/courses/mmms1/
ArduinoJson: https://arduinojson.org/
JavaScript The Good Parts: https://amzn.to/2Hes8vt
XML: https://www.json.org/xml
JSON5: https://json5.org/
Amazon Ion: http://amzn.github.io/ion-docs/
Protocol buffer: https://developers.google.com/protocol-buffers
Cap'n Proto: https://capnproto.org/
Apache Thrift: https://thrift.apache.org/
MessagePack: https://msgpack.org/
BSON: http://bsonspec.org/
CBOR: https://cbor.io/
5 سال پیش
در تاریخ 1398/11/24 منتشر شده
است.
14,291
بـار بازدید شده