1#ifndef SIMDJSON_DOM_FRACTURED_JSON_H
2#define SIMDJSON_DOM_FRACTURED_JSON_H
4#include "simdjson/dom/base.h"
5#include "simdjson/dom/element.h"
126#if SIMDJSON_EXCEPTIONS
The top level simdjson namespace, containing everything the library provides.
std::string fractured_json_string(std::string_view json_str)
Format a JSON string using FracturedJson formatting.
std::string fractured_json(T x)
Format JSON using FracturedJson formatting with default options.
Configuration options for FracturedJson formatting.
size_t max_compact_array_complexity
Maximum complexity for compact array formatting (default: 1).
bool simple_bracket_padding
Add space inside brackets for simple containers (default: true).
bool comma_padding
Add space after commas in inline content (default: true).
bool enable_table_format
Enable tabular formatting for arrays of similar objects (default: true).
size_t indent_spaces
Number of spaces per indentation level (default: 4).
bool colon_padding
Add space after colons (default: true).
size_t max_inline_length
Maximum length for inlined elements (default: 80).
size_t min_table_rows
Minimum number of rows to trigger table mode (default: 3).
size_t max_inline_complexity
Maximum nesting depth for inline rendering (default: 2).
size_t max_total_line_length
Maximum total characters per line (default: 120).
size_t max_items_per_line
Maximum array items per line in compact mode (default: 10).
bool enable_compact_multiline
Enable compact multiline arrays (default: true).
double table_similarity_threshold
Similarity threshold for table detection (default: 0.8).
The result of a simdjson operation that could fail.