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

@ -90,8 +90,7 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
static JsonObject &invalid() { return _invalid; }
// Serialize the object 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.