Added JsonDocument::overflowed() (closes #1358)

This commit is contained in:
Benoit Blanchon committed 2020-09-05 13:44:40 +02:00
1 parent 6d2ad4539f
commit 8d37939086
13 files changed
+155 -64

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ using namespace ARDUINOJSON_NAMESPACE;
static void testCodepoint(uint32_t codepoint, std::string expected) {
char buffer[4096];
MemoryPool pool(buffer, 4096);
StringCopier str;
str.startString(&pool);
StringCopier str(pool);
str.startString();
CAPTURE(codepoint);
Utf8::encodeCodepoint(codepoint, str);