GitHub 火线榜

GitHub 火线榜 · 仓库档案

bblanchon/ArduinoJson

JSON library for Arduino and embedded C++. Simple and efficient. (简介来自仓库自身文档。)

C++#arduino#arduino-library#c-plus-plus

数据截至 11月2日bblanchon

最好成绩

#419

总榜 · C++ 语言

7239

累计 Star

1171

Fork 总数

0

近 30 天在榜天数

许可证: MIT最近 push: 10月13日Open Issues(含 PR): 19自 2026-10-25 起采集;未知 = 尚未采集到

项目文档

ArduinoJson


GitHub Workflow Status Continuous Integration Fuzzing Status Coveralls branch
GitHub stars GitHub Sponsors

ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things).

Features

Quickstart

Deserialization

Here is a program that parses a JSON document with ArduinoJson.

const char* json = "{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";

JsonDocument doc;
deserializeJson(doc, json);

const char* sensor = doc["sensor"];
long time          = doc["time"];
double latitude    = doc["data"][0];
double longitude   = doc["data"][1];

See the tutorial on arduinojson.org

Serialization

Here is a program that generates a JSON document with ArduinoJson:

JsonDocument doc;

doc["sensor"] = "gps";
doc["time"]   = 1351824120;
doc["data"][0] = 48.756080;
doc["data"][1] = 2.302038;

serializeJson(doc, Serial);
// This prints:
// {"sensor":"gps","time":1351824120,"data":[48.756080,2.302038]}

See the tutorial on arduinojson.org

Sponsors

ArduinoJson is thankful to its sponsors. Please give them a visit; they deserve it!

1technophile LArkema

If you run a commercial project that embeds ArduinoJson, think about sponsoring the library's development: it ensures the code that your products rely on stays actively maintained. It can also give your project some exposure to the makers' community.

If you are an individual user and want to support the development (or give a sign of appreciation), consider purchasing the book Mastering ArduinoJson ❤, or simply cast a star ⭐.

当前上榜

  • 419

    总榜 · 史上最强 · C++

    7239 星 · 1171 fork · 累计 Star

    总榜 · C++ →

近 30 天势头

近 30 天没有上榜记录。

把上榜徽章放进你的 README · bblanchon/ArduinoJson[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/bblanchon/ArduinoJson.svg)](https://git.vaiox.xyz/zh/repo/bblanchon/ArduinoJson)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/bblanchon/ArduinoJson"><img src="https://git.vaiox.xyz/api/badge/bblanchon/ArduinoJson.svg" alt="把上榜徽章放进你的 README" height="20"></a>

← 回到榜单

GitHub 火线榜往日榜发现联系我们 · Contact