1 #ifndef SIMDJSON_JSONIOUTIL_H
2 #define SIMDJSON_JSONIOUTIL_H
4 #include "simdjson/base.h"
5 #include "simdjson/padded_string.h"
7 #include "simdjson/padded_string-inl.h"
11 #if SIMDJSON_EXCEPTIONS
12 #ifndef SIMDJSON_DISABLE_DEPRECATED_API
13 [[deprecated(
"Use padded_string::load() instead")]]
14 inline padded_string get_corpus(
const char *path) {
The top level simdjson namespace, containing everything the library provides.
static simdjson_result< padded_string > load(std::string_view path) noexcept
Load this padded string from a file.