Arduinojson

📟 JSON library for Arduino and embedded C++. Simple and efficient.
Alternatives To Arduinojson
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Arduinojson6,342
25 days ago17mitC++
📟 JSON library for Arduino and embedded C++. Simple and efficient.
Ajson557
4 years ago49C++
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 Leds504
3 years ago64apache-2.0Arduino
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
M4l Connection Kit468
a month agomitC++
Max for Live Connection Kit
Ethersweep406
4 days ago13otherC++
Open Source, easy to use Ethernet connected stepper motor controller. Built in FreeCAD, KiCAD and Arduino.
Configmanager183
a year ago7mitC++
ESP8266 Wifi connection and configuration manager.
Json Streaming Parser160
4 years ago17mitC++
Arduino library for parsing potentially huge json streams on devices with scarce memory
Arduinosim800l155
7 months ago13C++
Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads.
Arduino_json131
3 months ago16lgpl-2.1C
Official JSON Library for Arduino
Easyui60
5 years ago2otherC++
ESP8266 User Interface Library.
Alternatives To Arduinojson
Select To Compare


Alternative Project Comparisons
Readme

ArduinoJson


GitHub Workflow Status Continuous Integration Fuzzing Status Coveralls branch
Arduino Library Manager PlatformIO Registry ESP IDF
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.

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

Serialization

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

Sponsors

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

Programming Electronics Academy

1technophile

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 .

Popular Arduino Projects
Popular Json Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Json
Arduino
Iot
Esp32
Esp8266
Arduino Library
Deserialization
Messagepack