Page Speed Optimization Libraries
1.13.35.1
|
Writes bytes to top json of the stack. More...
#include "json_writer.h"
Public Member Functions | |
JsonWriter (Writer *writer, const std::vector< ElementJsonPair > *element_json_stack) | |
virtual bool | Write (const StringPiece &str, MessageHandler *message_handler) |
virtual bool | Flush (MessageHandler *message_handler) |
void | UpdateDictionary () |
Updates the json dictionary with the buffer content so far. | |
Public Member Functions inherited from net_instaweb::Writer | |
virtual bool | Dump (Writer *writer, MessageHandler *message_handler) |
Writes bytes to top json of the stack.
net_instaweb::JsonWriter::JsonWriter | ( | Writer * | writer, |
const std::vector< ElementJsonPair > * | element_json_stack | ||
) |
It is assumed that the element_json_stack is available till the destruction of the writer