Reduced size by 300 bytes by reusing the JsonPrettyPrint from v3

This commit is contained in:
Benoit Blanchon
2014-11-08 19:40:07 +01:00
parent d8dbfe6e6d
commit f6133f2d36
10 changed files with 138 additions and 92 deletions

View File

@ -75,8 +75,7 @@ class JsonArray : public Internals::JsonPrintable<JsonArray>,
static JsonArray &invalid() { return _invalid; }
// Serialize the array to the specified JsonWriter.
template <typename T>
void writeTo(T &writer) const;
void writeTo(Internals::JsonWriter &writer) const;
private:
// Create an empty JsonArray attached to the specified JsonBuffer.