delete_jsondocument.cpp 225 B

123456789101112
  1. // ArduinoJson - https://arduinojson.org
  2. // Copyright © 2014-2022, Benoit BLANCHON
  3. // MIT License
  4. #include <ArduinoJson.h>
  5. struct Stream {};
  6. int main() {
  7. JsonDocument* doc = new DynamicJsonDocument(42);
  8. delete doc;
  9. }