Generator: added empty array test

This commit is contained in:
Benoît Blanchon
2014-06-24 13:19:23 +02:00
parent 3d8b31b1ec
commit c8c1add4ab
7 changed files with 200 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#include <string.h>
#include "JsonArray.h"
void JsonArray::writeTo(char* buffer, size_t bufferSize)
{
strncpy(buffer, "[]", bufferSize);
}