nfx-json 1.5.2
Modern C++20 JSON library with schema validation and generation
Loading...
Searching...
No Matches
Builder.h File Reference

High-performance JSON builder for programmatic construction. More...

#include "Document.h"
#include <nfx/Containers.h>
#include <nfx/string/StringBuilder.h>
#include <charconv>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include "detail/Builder.inl"
Include dependency graph for Builder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfx::json::Builder
 High-performance JSON builder with incremental construction API. More...
struct  nfx::json::Builder::Options
 Configuration options for Builder. More...

Detailed Description

High-performance JSON builder for programmatic construction.

Provides a fluent API for building JSON documents directly to string buffer without constructing a DOM. Optimized with SSE2 SIMD for string escaping. Supports both compact and pretty-printed output formats.

Definition in file Builder.h.