Struct SYN_JsonWriter¶
Streaming JSON writer — tracks nesting, commas, and overflow.
#include <syn_json_write.h>
Public Attributes¶
| Type | Name |
|---|---|
| char * | buf |
| size_t | capacity |
| uint8_t | depth |
| size_t | len |
| bool | needs_comma |
| bool | overflow |
Public Attributes Documentation¶
variable buf¶
Output buffer
variable capacity¶
Buffer capacity
variable depth¶
Current nesting depth
variable len¶
Bytes written so far
variable needs_comma¶
Insert comma before next element
variable overflow¶
Set if buffer overflowed
The documentation for this class was generated from the following file src/syntropic/util/syn_json_write.h