ArduinoJson 5.8.2
* Fixed parsing of comments (issue #421)
* Fixed ignored `Stream` timeout (issue #422)
* Made sure we don't read more that necessary (issue #422)
* Fixed error when the key of a `JsonObject` is a `char[]` (issue #423)
* Reduced code size when using `const` references
* Fixed error with string of type `unsigned char*` (issue #428)
* Added `deprecated` attribute on `asArray()`, `asObject()` and `asString()` (issue #420)

Changes since 5.8.1

  • Fixed parsing of comments (issue #421)
  • Fixed ignored Stream timeout (issue #422)
  • Made sure we don't read more that necessary (issue #422)
  • Fixed error when the key of a JsonObject is a char[] (issue #423)
  • Reduced code size when using const references
  • Fixed error with string of type unsigned char* (issue #428)
  • Added deprecated attribute on asArray(), asObject() and asString() (issue #420)

View version history

How to replace deprecated functions?

Old Name New Name
asArray() as<JsonArray>()
asObject() as<JsonObject>()
asString() as<char*>()