Page Speed Optimization Libraries  1.4.26.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::JsonWriter Class Reference

Writes bytes to top json of the stack. More...

#include "json_writer.h"

Inheritance diagram for net_instaweb::JsonWriter:
net_instaweb::Writer

List of all members.

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.

Detailed Description

Writes bytes to top json of the stack.


Constructor & Destructor Documentation

net_instaweb::JsonWriter::JsonWriter ( Writer writer,
const std::vector< ElementJsonPair > *  element_json_stack 
)

It is assumed that the element_json_stack is avialable till the destruction of the writer


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines