How to insert "null" value in ArduinoJSON
Just use nullptr
:
json["myvalue"] = nullptr;
If nullptr
is not available, use the equivalent (char*)0
:
json["myvalue"] = (char*)0;
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow