Structs§
Functions§
- build_
json_ line - Pure function that builds the JSON line, exposed for unit testing.
- escape_
json_ string - Escapes a string for safe inclusion as a JSON string value (RFC 8259). Without this, embedded quotes / backslashes / control chars produce invalid JSON.