Closed step135 closed 1 month ago
OK, chatGPT adviced me to use doc.containsKey()
, it works, but it is not documented under header "Extracting errors" at https://arduinojson.org/v7/tutorial/deserialization/
Hi @step135. This is the repository for the "Arduino_JSON" library. You are referring to the similarly named, but completely separate "ArduinoJson" library:
https://github.com/bblanchon/ArduinoJson
This library has a hasOwnProperty
function that is equivalent to the "ArduinoJson" library's containsKey
function, which is demonstrated in the example sketch:
So the feature request is not applicable to this project.
That could be ok, but when I use byte type and want to have all 256 numbers disponible, there is no solution. I like that in Python I am able to do the check: using
in
. I need to implement following logic: