// ArduinoJson - https://arduinojson.org // Copyright © 2014-2024, Benoit BLANCHON // MIT License #define ARDUINO #define memcpy_P(dest, src, n) memcpy((dest), (src), (n)) #include #include TEST_CASE("Issue1707") { JsonDocument doc; DeserializationError err = deserializeJson(doc, F("{\"hello\":12}")); REQUIRE(err == DeserializationError::Ok); }