Skip to content

Update to cJSON 1.7.19#74

Open
embedded-kiddie wants to merge 2 commits intoarduino-libraries:masterfrom
embedded-kiddie:patch
Open

Update to cJSON 1.7.19#74
embedded-kiddie wants to merge 2 commits intoarduino-libraries:masterfrom
embedded-kiddie:patch

Conversation

@embedded-kiddie
Copy link
Copy Markdown

This pull request is specifically to follow up on cJson 1.7.19, which addresses CVE-related issues.

I've verified that the output of examples have been matched for each of UNO R3, UNO R4 Minima, and ESP32 before and after the update.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 20, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link
Copy Markdown

Memory usage change @ abaa1de

Board flash % RAM for global variables %
arduino:avr:leonardo 🔺 +80 - +144 +0.28 - +0.5 🔺 +2 - +4 +0.08 - +0.16
arduino:avr:mega 🔺 +82 - +142 +0.03 - +0.06 🔺 +2 - +4 +0.02 - +0.05
arduino:avr:nano 🔺 +82 - +142 +0.27 - +0.46 🔺 +2 - +4 +0.1 - +0.2
arduino:avr:yun 🔺 +80 - +144 +0.28 - +0.5 🔺 +2 - +4 +0.08 - +0.16
arduino:mbed_edge:edge_control 🔺 +128 - +192 +0.01 - +0.02 0 - 0 0.0 - 0.0
arduino:mbed_nano:nano33ble 🔺 +128 - +256 +0.01 - +0.03 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 🔺 +137 - +217 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A
arduino:megaavr:nona4809 🔺 +81 - +143 +0.16 - +0.29 0 - 0 0.0 - 0.0
arduino:megaavr:uno2018 🔺 +81 - +143 +0.17 - +0.29 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 🔺 +128 - +200 +0.02 - +0.04 N/A N/A
arduino:samd:arduino_zero_edbg 🔺 +144 - +216 +0.05 - +0.08 0 - 0 0.0 - 0.0
arduino:samd:mkrzero 🔺 +136 - +208 +0.05 - +0.08 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 🔺 +136 - +208 +0.05 - +0.08 0 - 0 0.0 - 0.0
Click for full report table
Board examples/JSONArray
flash
% examples/JSONArray
RAM for global variables
% examples/JSONKitchenSink
flash
% examples/JSONKitchenSink
RAM for global variables
% examples/JSONObject
flash
% examples/JSONObject
RAM for global variables
% examples/JSONValueExtractor
flash
% examples/JSONValueExtractor
RAM for global variables
%
arduino:avr:leonardo 124 0.43 4 0.16 80 0.28 2 0.08 132 0.46 4 0.16 144 0.5 4 0.16
arduino:avr:mega 124 0.05 2 0.02 82 0.03 4 0.05 132 0.05 2 0.02 142 0.06 2 0.02
arduino:avr:nano 122 0.4 2 0.1 82 0.27 4 0.2 130 0.42 2 0.1 142 0.46 2 0.1
arduino:avr:yun 124 0.43 4 0.16 80 0.28 2 0.08 132 0.46 4 0.16 144 0.5 4 0.16
arduino:mbed_edge:edge_control 128 0.01 0 0.0 128 0.01 0 0.0 192 0.02 0 0.0 128 0.01 0 0.0
arduino:mbed_nano:nano33ble 192 0.02 0 0.0 128 0.01 0 0.0 256 0.03 0 0.0 192 0.02 0 0.0
arduino:mbed_nano:nanorp2040connect 179 0.0 0 0.0 137 0.0 0 0.0 217 0.0 0 0.0 161 0.0 0 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:megaavr:nona4809 135 0.27 0 0.0 81 0.16 0 0.0 143 0.29 0 0.0 143 0.29 0 0.0
arduino:megaavr:uno2018 135 0.28 0 0.0 81 0.17 0 0.0 143 0.29 0 0.0 143 0.29 0 0.0
arduino:sam:arduino_due_x_dbg 176 0.03 N/A N/A 128 0.02 N/A N/A 200 0.04 N/A N/A 152 0.03 N/A N/A
arduino:samd:arduino_zero_edbg 176 0.07 0 0.0 144 0.05 0 0.0 216 0.08 0 0.0 160 0.06 0 0.0
arduino:samd:mkrzero 184 0.07 0 0.0 136 0.05 0 0.0 208 0.08 0 0.0 160 0.06 0 0.0
arduino:samd:nano_33_iot 184 0.07 0 0.0 136 0.05 0 0.0 208 0.08 0 0.0 160 0.06 0 0.0
Click for full report CSV
Board,examples/JSONArray<br>flash,%,examples/JSONArray<br>RAM for global variables,%,examples/JSONKitchenSink<br>flash,%,examples/JSONKitchenSink<br>RAM for global variables,%,examples/JSONObject<br>flash,%,examples/JSONObject<br>RAM for global variables,%,examples/JSONValueExtractor<br>flash,%,examples/JSONValueExtractor<br>RAM for global variables,%
arduino:avr:leonardo,124,0.43,4,0.16,80,0.28,2,0.08,132,0.46,4,0.16,144,0.5,4,0.16
arduino:avr:mega,124,0.05,2,0.02,82,0.03,4,0.05,132,0.05,2,0.02,142,0.06,2,0.02
arduino:avr:nano,122,0.4,2,0.1,82,0.27,4,0.2,130,0.42,2,0.1,142,0.46,2,0.1
arduino:avr:yun,124,0.43,4,0.16,80,0.28,2,0.08,132,0.46,4,0.16,144,0.5,4,0.16
arduino:mbed_edge:edge_control,128,0.01,0,0.0,128,0.01,0,0.0,192,0.02,0,0.0,128,0.01,0,0.0
arduino:mbed_nano:nano33ble,192,0.02,0,0.0,128,0.01,0,0.0,256,0.03,0,0.0,192,0.02,0,0.0
arduino:mbed_nano:nanorp2040connect,179,0.0,0,0.0,137,0.0,0,0.0,217,0.0,0,0.0,161,0.0,0,0.0
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:mbed_portenta:envie_m7:target_core=cm4,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:megaavr:nona4809,135,0.27,0,0.0,81,0.16,0,0.0,143,0.29,0,0.0,143,0.29,0,0.0
arduino:megaavr:uno2018,135,0.28,0,0.0,81,0.17,0,0.0,143,0.29,0,0.0,143,0.29,0,0.0
arduino:sam:arduino_due_x_dbg,176,0.03,N/A,N/A,128,0.02,N/A,N/A,200,0.04,N/A,N/A,152,0.03,N/A,N/A
arduino:samd:arduino_zero_edbg,176,0.07,0,0.0,144,0.05,0,0.0,216,0.08,0,0.0,160,0.06,0,0.0
arduino:samd:mkrzero,184,0.07,0,0.0,136,0.05,0,0.0,208,0.08,0,0.0,160,0.06,0,0.0
arduino:samd:nano_33_iot,184,0.07,0,0.0,136,0.05,0,0.0,208,0.08,0,0.0,160,0.06,0,0.0

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: infrastructure Related to project infrastructure labels Nov 20, 2025
Copy link
Copy Markdown

@facchinm facchinm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

@facchinm facchinm requested a review from a team November 20, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants