Jsonifier Serialization: Design and Performance
Year: 2026
Type: preprint
Abstract: Jsonifier serializes a reflection-registered C++ object in two passes: an exact-or-over size estimate, one buffer resize, then a single branch-light write pass that never checks capacity. Every byte the schema already knows (key names, quotes, colons, commas, indentation) is folded at compile time into packed integer constants and emitted with fixed-width stores, so the runtime work left is the data itself: strings, numbers and container lengths. This paper describes that design as it stands in include/jsonifier-incl/serializing/ (serializer.hpp, serialize_impl.hpp) and its helpers for strings (string_utils.hpp), integers (i_to_str.hpp) and floats (d_to_str.hpp).
Author: Mandarino, Chris
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7242467124
Cites:
Cited by:
Related to:
