Logo Search packages:      
Sourcecode: yajl version File versions  Download package

YAJL_API void yajl_gen_clear ( yajl_gen  hand )

clear yajl's output buffer, but maintain all internal generation state. This function will not "reset" the generator state, and is intended to enable incremental JSON outputing.

Definition at line 344 of file yajl_gen.c.

References yajl_gen_clear().

Referenced by yajl_gen_clear().

    if (g->print == (yajl_print_t)&yajl_buf_append) yajl_buf_clear((yajl_buf)g->ctx);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index