Disable unicode support in ArduinoJson
Disabled unicode hex string support, to save flash memory.
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
#include "src/dependencies/async-mqtt-client/AsyncMqttClient.h"
|
||||
#endif
|
||||
|
||||
#define ARDUINOJSON_DECODE_UNICODE 1 // WLEDMM enable unicode support -> prevents crashes when user enters unicode strings in webUI
|
||||
#define ARDUINOJSON_DECODE_UNICODE 0 // WLEDMM enables support for unicode HEX strings - deserializeJson(doc, "{'firstname':'Beno\\u00EEt'}"); --> not needed - disable saves 1.2KB flash
|
||||
#include "src/dependencies/json/AsyncJson-v6.h"
|
||||
#include "src/dependencies/json/ArduinoJson-v6.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user