1 #ifndef SIMDJSON_DOM_DOCUMENT_H
2 #define SIMDJSON_DOM_DOCUMENT_H
4 #include "simdjson/common_defs.h"
56 bool dump_raw_tape(std::ostream &os) const noexcept;
59 std::unique_ptr<uint64_t[]> tape{};
65 std::unique_ptr<uint8_t[]> string_buf{};
82 size_t capacity() const noexcept;
86 size_t allocated_capacity{0};
document() noexcept=default
Create a document container with zero capacity.
element root() const noexcept
Get the root element of this document as a JSON array.
We want to support argument-dependent lookup (ADL).
error_code
All possible errors returned by simdjson.