Reduced size by 22 bytes by removing writeEmptyArray() and writeEmptyObject()

This commit is contained in:
Benoit Blanchon
2014-11-09 13:54:03 +01:00
parent 12e374d0da
commit 3919f07890
3 changed files with 20 additions and 32 deletions

View File

@ -30,11 +30,9 @@ class JsonWriter {
void beginArray() { write('['); }
void endArray() { write(']'); }
void writeEmptyArray() { write("[]"); }
void beginObject() { write('{'); }
void endObject() { write('}'); }
void writeEmptyObject() { write("{}"); }
void writeColon() { write(':'); }
void writeComma() { write(','); }