ArduinoJson VS Arduino

Compare ArduinoJson vs Arduino and see what are their differences.

ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient. (by bblanchon)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ArduinoJson Arduino
24 96
6,563 15,778
- 0.4%
8.8 8.1
6 days ago 19 days ago
C++ C++
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ArduinoJson

Posts with mentions or reviews of ArduinoJson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-22.
  • How can I obtain weather info?
    1 project | /r/esp8266 | 20 May 2023
  • Creating Pixel Art with Web Interface using ESP8266
    2 projects | dev.to | 22 Dec 2022
    I'm using the library ArduinoJson to storage arts in the ESP8266 memory at JSON format. But, i'm have difficult to storage more than 4 drawings, possibly because i don't know how scale, optimize and manager the memory space.
  • Question regarding ArduinoJson.h Connection
    2 projects | /r/esp32 | 12 Dec 2022
    /******************************************************************* A sample project for making a HTTP/HTTPS GET request on an ESP32 and parsing it from JSON It will connect to the given request, parse the JSON and print the body to serial monitor Parts: ESP32 Dev Board Aliexpress: * - https://s.click.aliexpress.com/e/_dSi824B Amazon: * - https://amzn.to/3gArkAY * * = Affilate If you find what I do useful and would like to support me, please consider becoming a sponsor on Github https://github.com/sponsors/witnessmenow/ Written by Brian Lough YouTube: https://www.youtube.com/brianlough Tindie: https://www.tindie.com/stores/brianlough/ Twitter: https://twitter.com/witnessmenow *******************************************************************/ // ---------------------------- // Standard Libraries // ---------------------------- #include #include // ---------------------------- // Additional Libraries - each one of these will need to be installed. // ---------------------------- #include // Library used for parsing Json from the API responses // Search for "Arduino Json" in the Arduino Library manager // https://github.com/bblanchon/ArduinoJson //------- Replace the following! ------ char ssid[] = "yourSSID"; // your network SSID (name) char password[] = "yourPassword"; // your network key // For Non-HTTPS requests // WiFiClient client; // For HTTPS requests WiFiClientSecure client; // Just the base of the URL you want to connect to #define TEST_HOST "api.openweathermap.org" // Root cert of server we are connecting to // Baltimore CyberTrust Root - Expires 12 May 2025 // (FYI, from a security point of view you should not trust certs from other people, including me!) /*const char *server_cert = "-----BEGIN CERTIFICATE-----\n" "MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ\n" "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\n" "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX\n" "DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y\n" "ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy\n" "VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr\n" "mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr\n" "IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK\n" "mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu\n" "XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy\n" "dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye\n" "jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1\n" "BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3\n" "DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92\n" "9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx\n" "jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0\n" "Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz\n" "ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS\n" "R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp\n" "-----END CERTIFICATE-----\n"; */ void setup() { Serial.begin(115200); // Connect to the WiFI WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); Serial.println(""); // Wait for connection while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.print("Connected to "); Serial.println(ssid); Serial.print("IP address: "); Serial.println(WiFi.localIP()); //-------- // Checking the cert is the best way on an ESP32 // This will verify the server is trusted. //client.setCACert(server_cert); // If you don't want to verify the server // Unlike the fingerprint method of the ESP8266 which expires frequently // the cert lasts years, so I don't see much reason to ever // use this on the ESP32 client.setInsecure(); } void makeHTTPRequest() { // Opening connection to server (Use 80 as port if HTTP) if (!client.connect(TEST_HOST, 443)) { Serial.println(F("Connection failed")); return; } // give the esp a breather yield(); // Send HTTP request client.print(F("GET ")); // This is the second half of a request (everything that comes after the base URL) client.print("/data/2.5/weather?q=London, UK&appid=[yourOpenWeatherAPI]&units=metric"); // %2C == , client.println(F(" HTTP/1.1")); //Headers client.print(F("Host: ")); client.println(TEST_HOST); client.println(F("Cache-Control: no-cache")); if (client.println() == 0) { Serial.println(F("Failed to send request")); return; } //delay(100); // Check HTTP status char status[32] = {0}; client.readBytesUntil('\r', status, sizeof(status)); if (strcmp(status, "HTTP/1.1 200 OK") != 0) { Serial.print(F("Unexpected response: ")); Serial.println(status); return; } // Skip HTTP headers char endOfHeaders[] = "\r\n\r\n"; if (!client.find(endOfHeaders)) { Serial.println(F("Invalid response")); return; } // This is probably not needed for most, but I had issues // with the Tindie api where sometimes there were random // characters coming back before the body of the response. // This will cause no hard to leave it in // peek() will look at the character, but not take it off the queue while (client.available() && client.peek() != '{') { char c = 0; client.readBytes(&c, 1); Serial.print(c); Serial.println("BAD"); } // // While the client is still availble read each // // byte and print to the serial monitor // while (client.available()) { // char c = 0; // client.readBytes(&c, 1); // Serial.print(c); // } //Use the ArduinoJson Assistant to calculate this: //StaticJsonDocument<192> doc; DynamicJsonDocument doc(1024); //For ESP32/ESP8266 you'll mainly use dynamic. DeserializationError error = deserializeJson(doc, client); if (!error) { float coord_lon = doc["coord"]["lon"]; float coord_lat = doc["coord"]["lat"]; JsonObject main = doc["main"]; float main_temp = main["temp"]; Serial.print("Temp: "); Serial.println(main_temp); Serial.print("Longitude: "); Serial.println(coord_lon); Serial.print("Latitude: "); Serial.println(coord_lat); } else { Serial.print(F("deserializeJson() failed: ")); Serial.println(error.f_str()); return; } } void loop() { makeHTTPRequest(); delay(1500); }
  • Converting an array of byte characters from an API into bytes using ArduinoJSON?
    1 project | /r/arduino | 16 Oct 2022
    I've logged a github issue, but I'm not convinced I've asked the right questions as I've never had to do anything like this before - am I missing something obvious?
  • Sending arrays through serial line between 2 arduinos
    3 projects | /r/arduino | 25 Sep 2022
    https://arduinojson.org
  • [looking for help] Config File in SD Card
    2 projects | /r/esp32 | 5 Jul 2022
    Also, if you want a nice way to encapsulate data, look at ArduinoJson (https://arduinojson.org/). All your information can be stored as easily identifiable strings in a JSON format. I use it all the time and it removes a lot of the mucking about with figuring out how to parse your data to/from file.
  • ESP32 HTML e-Paper
    1 project | /r/esp32 | 4 Jul 2022
  • Gamepad app with analog Joystick mode for your ESP32 projects to control your Robots using Websockets.
    1 project | /r/esp32 | 28 Jun 2022
    The format is simple JSON data and self explanatory, no binary coding, just simple text, which you can decode using https://arduinojson.org/.
  • #Beguiner how can i fill my json structure from an online or off life tool
    1 project | /r/json | 30 Apr 2022
  • Easiest method to get somewhat large array of information off an ESP8266
    1 project | /r/arduino | 18 Apr 2022

Arduino

Posts with mentions or reviews of Arduino. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • Send and receive message remotely with ESP8266
    2 projects | /r/arduino | 23 Oct 2023
    The result is that the WiFiSecureClient doesn't work when used in the bot declaration, so I changed the variable to WiFiClient but I can't use the certificate, so I comment it out and ESP8266.h gives me a thousand errors due to lack of dependencies in its libraries. I should point out that I downloaded the entire project from the Arduino ESP8266, I don't know how to link all the libraries, so I simply took those from the ESP8266WiFi.
  • Do you have any idea why this program would not work? [ESP32]
    2 projects | /r/arduino | 19 Jun 2023
    #include #include "time.h" #include "sntp.h" char* ssid = "WIFI"; char* password = "w1fi"; const char* ntpServer1 = "pool.ntp.org"; const char* ntpServer2 = "time.nist.gov"; const long gmtOffset_sec = 3600; const int daylightOffset_sec = 3600; const char* time_zone = "CET-1CEST,M3.5.0,M10.5.0/3"; // TimeZone rule for Europe/Rome including daylight adjustment rules (optional) void printLocalTime() { struct tm timeinfo; if(!getLocalTime(&timeinfo)){ Serial.println("No time available (yet)"); return; } Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S"); } // Callback function (get's called when time adjusts via NTP) void timeavailable(struct timeval *t) { Serial.println("Got time adjustment from NTP!"); printLocalTime(); } void setup() { Serial.begin(115200); // set notification call-back function sntp_set_time_sync_notification_cb( timeavailable ); /** * NTP server address could be aquired via DHCP, * * NOTE: This call should be made BEFORE esp32 aquires IP address via DHCP, * otherwise SNTP option 42 would be rejected by default. * NOTE: configTime() function call if made AFTER DHCP-client run * will OVERRIDE aquired NTP server address */ //sntp_servermode_dhcp(1); // (optional) /** * This will set configured ntp servers and constant TimeZone/daylightOffset * should be OK if your time zone does not need to adjust daylightOffset twice a year, * in such a case time adjustment won't be handled automagicaly. */ configTime(gmtOffset_sec, daylightOffset_sec, ntpServer1, ntpServer2); /** * A more convenient approach to handle TimeZones with daylightOffset * would be to specify a environmnet variable with TimeZone definition including daylight adjustmnet rules. * A list of rules for your zone could be obtained from https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h */ //configTzTime(time_zone, ntpServer1, ntpServer2); //connect to WiFi Serial.printf("Connecting to %s ", ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(" CONNECTED"); } void loop() { delay(5000); printLocalTime(); // it will take some time to sync time :) }
  • How do you determine what module/s do you have on your boards or vice versa?
    1 project | /r/arduino | 24 Mar 2023
    https://github.com/esp8266/Arduino http://arduino.esp8266.com/stable/package\_esp8266com\_index.json https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
  • Programming esp32
    1 project | /r/microcontrollers | 22 Mar 2023
    He meant the Arduino framework. There is an Arduino core for the ESP8266 so you can use Arduino’s IDE and libraries for the ESP with this core here
  • rst cause:2, boot mode:(3,6) ERROR :(
    2 projects | /r/esp8266 | 17 Mar 2023
  • Help Needed: ESP NOW between ESP Wroom 32 DevKit and WeMos D1 Mini.
    1 project | /r/esp8266 | 11 Mar 2023
    According to this link(https://github.com/esp8266/Arduino/issues/6174) WeMos can't receive broadcasts on SDK 2.2.1.
  • ESP8266 on ESPNow protocol power consumption/sleep mode
    1 project | /r/esp8266 | 9 Mar 2023
    There are 2 ways to minimize power consumption while maintaining an active WiFi connection, but it's not a large power reduction for either mode. Look at Automatic Modem Sleep and Automatic Light Sleep here: https://github.com/esp8266/Arduino/tree/master/libraries/esp8266/examples/LowPowerDemo
  • Very unique color clock! Details on https://www.instructables.com/Pingo-Color-Clock-by-Illusionmanager/
    2 projects | /r/esp8266 | 28 Feb 2023
  • lolin boards in close proximity are causing WIFI interferance
    1 project | /r/esp8266 | 26 Feb 2023
    That's the Arduino (Uno) library. If you've correctly installed the ESP8266 package then it should be 3.(something-ish) for the ESP8266 version of the WiFi library. Current is 3.1.1 for the core files, and the WiFi is part of the core libraries. If you have your compile options set for verbose then you should see it doesn't access that old Arduino WiFi library.
  • Is there any way to get a low battery alert from a D1 mini?
    1 project | /r/esp8266 | 20 Feb 2023
    Seems it's expected https://github.com/esp8266/Arduino/issues/721

What are some alternatives?

When comparing ArduinoJson and Arduino you can also consider the following projects:

cJSON - Ultralightweight JSON parser in ANSI C

ESP8266_RTOS_SDK - Latest ESP8266 SDK based on FreeRTOS, esp-idf style.

esp-idf-json - Example of JSON Serialize and Deserialize in ESP-IDF

u8g2 - U8glib library for monochrome displays, version 2

yaml-cpp - A YAML parser and emitter in C++

ESP8266-Google-Calendar-Arduino - Interaction between an ESP8266 and the Google Calendar.

json - JSON for Modern C++

ESP8266_NONOS_SDK - ESP8266 nonOS SDK

RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API

brzo_i2c - Brzo I2C is a fast I2C Implementation written in Assembly for the esp8266

FlatBuffers - FlatBuffers: Memory Efficient Serialization Library

esp-honeypot - Simple ESP8266 / ESP32 Canary that simulates predefined application server and notifies you using E-mail, Telegram, etc if it was accessed.