|
Wireshark 4.7.2
The Wireshark network protocol analyzer
|
State and configuration for incrementally writing JSON output to a file or string. More...
#include <json_dumper.h>
Public Attributes | |
| FILE * | output_file |
| GString * | output_string |
| int | flags |
| unsigned | current_depth |
| int | base64_state |
| int | base64_save |
| uint8_t | state [1100] |
| char | buf [8192] |
| size_t | buf_pos |
State and configuration for incrementally writing JSON output to a file or string.
| int json_dumper::base64_save |
Partially accumulated bits carried over between incremental base64 encoding calls.
| int json_dumper::base64_state |
Incremental base64 encoder state used when streaming binary data.
| char json_dumper::buf[8192] |
Internal buffer to batch small writes.
| size_t json_dumper::buf_pos |
Current position in internal buffer.
| unsigned json_dumper::current_depth |
Current nesting depth of open objects and arrays.
| int json_dumper::flags |
Bitmask of JSON_DUMPER_* flags controlling output formatting and error handling behaviour.
| FILE* json_dumper::output_file |
Output file handle; if non-NULL, JSON is written here.
| GString* json_dumper::output_string |
Output GLib string buffer; if non-NULL, JSON is appended here.
| uint8_t json_dumper::state[1100] |
Per-depth state flags tracking whether a separator is needed before the next value.