1 #ifndef SIMDJSON_JSONIOUTIL_H
2 #define SIMDJSON_JSONIOUTIL_H
4 #include "simdjson/common_defs.h"
5 #include "simdjson/padded_string.h"
9 #if SIMDJSON_EXCEPTIONS
10 #ifndef SIMDJSON_DISABLE_DEPRECATED_API
11 [[deprecated(
"Use padded_string::load() instead")]]
12 inline padded_string get_corpus(
const char *path) {
We want to support argument-dependent lookup (ADL).
static simdjson_result< padded_string > load(std::string_view path) noexcept
Load this padded string from a file.