Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
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

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)
 

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 available till the destruction of the writer


The documentation for this class was generated from the following file: