mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
23 lines
524 B
C++
23 lines
524 B
C++
#ifndef SIMDJSON_JSONIOUTIL_H
|
|
#define SIMDJSON_JSONIOUTIL_H
|
|
|
|
#include "simdjson/base.h"
|
|
#include "simdjson/padded_string.h"
|
|
|
|
#include "simdjson/padded_string-inl.h"
|
|
|
|
namespace simdjson {
|
|
|
|
#if SIMDJSON_EXCEPTIONS
|
|
#ifndef SIMDJSON_DISABLE_DEPRECATED_API
|
|
[[deprecated("Use padded_string::load() instead")]]
|
|
inline padded_string get_corpus(const char *path) {
|
|
return padded_string::load(path);
|
|
}
|
|
#endif // SIMDJSON_DISABLE_DEPRECATED_API
|
|
#endif // SIMDJSON_EXCEPTIONS
|
|
|
|
} // namespace simdjson
|
|
|
|
#endif // SIMDJSON_JSONIOUTIL_H
|