forked from bblanchon/ArduinoJson
Show a link to the doc when user passes an unsupported input type
Ported from 7eec01cdd6
This commit is contained in:
@@ -18,7 +18,9 @@ struct Reader {
|
||||
Reader(TSource& source) : source_(&source) {}
|
||||
|
||||
int read() {
|
||||
return source_->read(); // Error here? You passed an unsupported input type
|
||||
// clang-format off
|
||||
return source_->read(); // Error here? See https://arduinojson.org/v6/invalid-input/
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
size_t readBytes(char* buffer, size_t length) {
|
||||
|
||||
Reference in New Issue
Block a user