Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Arduinojson | 6,342 | 25 days ago | 17 | mit | C++ | |||||
📟 JSON library for Arduino and embedded C++. Simple and efficient. | ||||||||||
Ajson | 557 | 4 years ago | 49 | C++ | ||||||
aJson is an Arduino library to enable JSON processing with Arduino. It easily enables you to decode, create, manipulate and encode JSON directly from and to data structures. | ||||||||||
Esp Mqtt Json Digital Leds | 504 | 3 years ago | 64 | apache-2.0 | Arduino | |||||
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant | ||||||||||
M4l Connection Kit | 468 | a month ago | mit | C++ | ||||||
Max for Live Connection Kit | ||||||||||
Ethersweep | 406 | 4 days ago | 13 | other | C++ | |||||
Open Source, easy to use Ethernet connected stepper motor controller. Built in FreeCAD, KiCAD and Arduino. | ||||||||||
Configmanager | 183 | a year ago | 7 | mit | C++ | |||||
ESP8266 Wifi connection and configuration manager. | ||||||||||
Json Streaming Parser | 160 | 4 years ago | 17 | mit | C++ | |||||
Arduino library for parsing potentially huge json streams on devices with scarce memory | ||||||||||
Arduinosim800l | 155 | 7 months ago | 13 | C++ | ||||||
Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads. | ||||||||||
Arduino_json | 131 | 3 months ago | 16 | lgpl-2.1 | C | |||||
Official JSON Library for Arduino | ||||||||||
Easyui | 60 | 5 years ago | 2 | other | C++ | |||||
ESP8266 User Interface Library. |
ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things).
String
, std::string
, and std::string_view
Stream
and std::istream
/std::ostream
-Wall -Wextra -pedantic
and /W4
const
friendlyfor
friendlyHere is a program that parses a JSON document with ArduinoJson.
char json[] = "{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";
DynamicJsonDocument doc(1024);
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
Here is a program that generates a JSON document with ArduinoJson:
DynamicJsonDocument doc(1024);
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
ArduinoJson is thankful to its sponsors. Please give them a visit; they deserve it!
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 .