1 #ifndef SIMDJSON_HASWELL_IMPLEMENTATION_H
2 #define SIMDJSON_HASWELL_IMPLEMENTATION_H
4 #include "simdjson/implementation.h"
20 internal::instruction_set::AVX2 | internal::instruction_set::PCLMULQDQ | internal::instruction_set::BMI1 | internal::instruction_set::BMI2
22 simdjson_warn_unused
error_code create_dom_parser_implementation(
25 std::unique_ptr<internal::dom_parser_implementation>& dst
26 )
const noexcept
final;
27 simdjson_warn_unused
error_code minify(
const uint8_t *buf,
size_t len, uint8_t *dst,
size_t &dst_len)
const noexcept
final;
28 simdjson_warn_unused
bool validate_utf8(
const char *buf,
size_t len)
const noexcept
final;
An implementation of simdjson for a particular CPU architecture.
virtual simdjson_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept=0
Validate the UTF-8 string.
We want to support argument-dependent lookup (ADL).
error_code
All possible errors returned by simdjson.
std::string minify(T x)
Minifies a JSON element or document, printing the smallest possible valid JSON.