// Copyright Benoit Blanchon 2014-2017 // MIT License // // Arduino JSON library // https://bblanchon.github.io/ArduinoJson/ // If you like this project, please add a star! #pragma once namespace ArduinoJson { namespace Internals { // A dummy Print implementation used in JsonPrintable::measureLength() class DummyPrint { public: size_t print(char) { return 1; } size_t print(const char* s) { return strlen(s); } }; } }