1 #ifndef SIMDJSON_DOM_DOCUMENT_H
2 #define SIMDJSON_DOM_DOCUMENT_H
4 #include "simdjson/dom/base.h"
54 bool dump_raw_tape(std::ostream &os) const noexcept;
57 std::unique_ptr<uint64_t[]> tape{};
63 std::unique_ptr<uint8_t[]> string_buf{};
80 size_t capacity() const noexcept;
84 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.
The top level simdjson namespace, containing everything the library provides.
error_code
All possible errors returned by simdjson.