#include <gx_json.h>
|
| JsonStringWriter () |
|
void | send_notify_begin (const char *method) |
|
void | send_notify_end () |
|
void | reset () |
|
void | finish () |
|
std::string | get_string () |
|
| JsonWriter (ostream *o=0, bool enable_newlines=true) |
|
virtual | ~JsonWriter () |
|
void | reset () |
|
void | set_stream (ostream *o) |
|
bool | good () |
|
void | flush () |
|
virtual void | close () |
|
bool | is_closed () |
|
void | write (float v, bool nl=false) |
|
void | write (double v, bool nl=false) |
|
void | write (int i, bool nl=false) |
|
void | write (unsigned int i, bool nl=false) |
|
void | write (const char *p, bool nl=false) |
|
void | write (const string &s, bool nl=false) |
|
void | write_kv (const char *key, float v) |
|
void | write_kv (const char *key, double v) |
|
void | write_kv (const char *key, int i) |
|
void | write_kv (const char *key, unsigned int i) |
|
void | write_kv (const char *key, const char *p) |
|
void | write_kv (const char *key, const std::string &s) |
|
void | write_lit (const string &s, bool nl=false) |
|
void | begin_object (bool nl=false) |
|
void | end_object (bool nl=false) |
|
void | begin_array (bool nl=false) |
|
void | end_array (bool nl=false) |
|
void | write_key (const char *p, bool nl=false) |
|
void | write_key (const string &p, bool nl=false) |
|
void | write_null (bool nl=false) |
|
void | newline () |
|
Definition at line 99 of file gx_json.h.
◆ JsonStringWriter()
gx_system::JsonStringWriter::JsonStringWriter |
( |
| ) |
|
|
inline |
◆ finish()
void gx_system::JsonStringWriter::finish |
( |
| ) |
|
|
inline |
◆ get_string()
std::string gx_system::JsonStringWriter::get_string |
( |
| ) |
|
|
inline |
◆ reset()
void gx_system::JsonStringWriter::reset |
( |
void |
| ) |
|
|
inline |
◆ send_notify_begin()
void gx_system::JsonStringWriter::send_notify_begin |
( |
const char * |
method | ) |
|
◆ send_notify_end()
void gx_system::JsonStringWriter::send_notify_end |
( |
| ) |
|
◆ stream
ostringstream gx_system::JsonStringWriter::stream |
|
private |
The documentation for this class was generated from the following file: