mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
22 lines
435 B
C++
22 lines
435 B
C++
// Copyright Benoit Blanchon 2014-2016
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
// If you like this project, please add a star!
|
|
|
|
#pragma once
|
|
|
|
#include "../Arduino/Print.hpp"
|
|
|
|
namespace ArduinoJson {
|
|
namespace Internals {
|
|
|
|
// A dummy Print implementation used in JsonPrintable::measureLength()
|
|
class DummyPrint : public Print {
|
|
public:
|
|
virtual size_t write(uint8_t) { return 1; }
|
|
};
|
|
}
|
|
}
|