5 #ifndef SIMDJSON_BASE_H
6 #define SIMDJSON_BASE_H
8 #include "simdjson/common_defs.h"
9 #include "simdjson/compiler_check.h"
10 #include "simdjson/error.h"
11 #include "simdjson/portability.h"
12 #include "simdjson/concepts.h"
19 SIMDJSON_PUSH_DISABLE_UNUSED_WARNINGS
41 SIMDJSON_POP_DISABLE_UNUSED_WARNINGS
52 class dom_parser_implementation;
53 class escape_json_string;
An implementation of simdjson for a particular CPU architecture.
User-provided string that promises it has extra padded bytes at the end for use with parser::parse().
The top level simdjson namespace, containing everything the library provides.
constexpr SIMDJSON_PUSH_DISABLE_UNUSED_WARNINGS size_t SIMDJSON_MAXSIZE_BYTES
The maximum document size supported by simdjson.
constexpr size_t DEFAULT_MAX_DEPTH
By default, simdjson supports this many nested objects and arrays.
stage1_mode
This enum is used with the dom_parser_implementation::stage1 function.
constexpr size_t SIMDJSON_PADDING
The amount of padding needed in a buffer to parse JSON.
String with extra allocation for ease of use with parser::parse()