Documentation
¶
Overview ¶
Package jsonwire provides the minimal JSON string encoding used by CONGA's machine-readable outputs (shell completion and version reporting) without pulling in encoding/json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendString ¶
AppendString appends the RFC 8259 JSON string literal for input (including the surrounding quotes) to dst and returns the extended buffer.
Escaping: '"' and '\' are escaped with a backslash; the control characters \b, \f, \n, \r, and \t use their short escapes; every other byte below 0x20 uses \u00xx. Valid UTF-8 passes through unchanged; invalid UTF-8 bytes are replaced with \ufffd so the output is always valid UTF-8. encoding/json is deliberately not imported (ADR 005 dependency boundaries).
Types ¶
This section is empty.