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
@@ -32,7 +32,7 @@ void setup() {
|
||||
"{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";
|
||||
|
||||
// Deserialize the JSON document
|
||||
JsonError error = deserializeJson(doc, json);
|
||||
DeserializationError error = deserializeJson(doc, json);
|
||||
|
||||
// Test if parsing succeeds.
|
||||
if (error) {
|
||||
|
||||
Reference in new issue
Block a user