// ArduinoJson - https://arduinojson.org // Copyright © 2014-2024, Benoit BLANCHON // MIT License #define ARDUINOJSON_USE_LONG_LONG 0 #include #if defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ >= 8 # error This test requires sizeof(long) < 8 #endif int main() { JsonDocument doc; doc["dummy"] = static_cast(42); }