forked from bblanchon/ArduinoJson
Merged MsgPackError and JsonError into DeserializationError.
Return NotSupported if the JSON input contains "\u".
This commit is contained in:
1 parent
ccb54136a2
commit
4592f23260
38 files changed
+574
-636
No files matched your search
@@ -35,7 +35,7 @@ void loadConfiguration(const char *filename, Config &config) {
|
||||
StaticJsonDocument<512> doc;
|
||||
|
||||
// Deserialize the JSON document
|
||||
JsonError error = deserializeJson(doc, file);
|
||||
DeserializationError error = deserializeJson(doc, file);
|
||||
if (error)
|
||||
Serial.println(F("Failed to read file, using default configuration"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user