simdjson  3.11.0
Ridiculously Fast JSON
base.h
1 #ifndef SIMDJSON_DOM_BASE_H
2 #define SIMDJSON_DOM_BASE_H
3 
4 #include "simdjson/base.h"
5 
6 namespace simdjson {
7 
11 namespace dom {
12 
14 static constexpr size_t DEFAULT_BATCH_SIZE = 1000000;
23 static constexpr size_t MINIMAL_BATCH_SIZE = 32;
24 
28 static constexpr size_t MINIMAL_DOCUMENT_CAPACITY = 32;
29 
30 class array;
31 class document;
32 class document_stream;
33 class element;
34 class key_value_pair;
35 class object;
36 class parser;
37 
38 #ifdef SIMDJSON_THREADS_ENABLED
39 struct stage1_worker;
40 #endif // SIMDJSON_THREADS_ENABLED
41 
42 } // namespace dom
43 
44 namespace internal {
45 
46 template<typename T>
47 class string_builder;
48 class tape_ref;
49 
50 } // namespace internal
51 
52 } // namespace simdjson
53 
54 #endif // SIMDJSON_DOM_BASE_H
@ object
A JSON object ( { "a": 1, "b" 2, ... } )
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8