You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#define ARDUINOJSON_DECODE_UNICODE 1
|
|
#include <ArduinoJson.h>
|
|
|
|
#include <catch.hpp>
|
|
|
|
TEST_CASE("ARDUINOJSON_DECODE_UNICODE == 1") {
|
|
DynamicJsonDocument doc(2048);
|
|
DeserializationError err = deserializeJson(doc, "\"\\uD834\\uDD1E\"");
|
|
|
|
REQUIRE(err == DeserializationError::Ok);
|
|
}
|
|
|