跳到正文
Adafruit Blog· Anne Barela·· 4 天前精选AI 评分52

TinyJSON 开源发布:面向 Arduino 与嵌入式 C++ 的无堆分配 JSON 读写库

TinyJSON, a small, header-only JSON reader and writer with no heap allocations

AI 导读

Phil Schatzmann 在 GitHub 发布 TinyJSON,一款面向 Arduino 与嵌入式 C++ 的小型 JSON 读写库。该库为 header-only,sketch 只需包含一个文件即可读取或构建 JSON,可在 RAM 微控制器上运行,通过 Arduino IDE 以 zip 文件安装,附带读写示例,采用 MIT License 发布。

推荐理由

原文说明了零堆分配与单文件包含的实现方式,适合在小 RAM 微控制器上做 JSON 解析选型参考。

来源:Adafruit Blog · blog.adafruit.com