|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
JsonWriter: append-only JSON builder over a caller-provided fixed buffer (no heap). More...
#include "fastmm/core/config_macros.hpp"#include <cstddef>#include <cstdint>#include <cstring>#include <span>#include <string_view>Go to the source code of this file.
Classes | |
| class | fastmm::venues::JsonWriter |
Namespaces | |
| namespace | fastmm |
| namespace | fastmm::venues |
JsonWriter: append-only JSON builder over a caller-provided fixed buffer (no heap).
Used by the order encoders on the hot path. Overflow is sticky (ok() == false, size() frozen), so a truncated request can never be sent. Strings are escaped minimally (quote, backslash, control chars) - venue symbols and ids are plain ASCII anyway.