![]() |
simdjson 4.6.4
Ridiculously Fast JSON
|
A fast, simple, DOM-like interface that parses JSON as you use it. More...
Classes | |
| class | array |
| A forward-only JSON array. More... | |
| class | array_iterator |
| A forward-only JSON array. More... | |
| class | document |
| A JSON document. More... | |
| class | document_reference |
| A document_reference is a thin wrapper around a document reference instance. More... | |
| class | document_stream |
| A forward-only stream of documents. More... | |
| class | field |
| A JSON field (key/value pair) in an object. More... | |
| struct | number |
| A type representing a JSON number. More... | |
| class | object |
| A forward-only JSON object field iterator. More... | |
| class | object_iterator |
| class | parser |
| A JSON fragment iterator. More... | |
| class | raw_json_string |
| A string escaped per JSON rules, terminated with quote ("). More... | |
| class | value |
| An ephemeral JSON value returned during iteration. More... | |
Typedefs | |
| using | depth_t = int32_t |
| Represents the depth of a JSON value (number of nested arrays/objects). | |
| using | number_type = simdjson::SIMDJSON_IMPLEMENTATION::number_type |
| The type of a JSON number. | |
Enumerations | |
| enum class | json_type { unknown =0 , array =1 , object , number , string , boolean , null } |
| The type of a JSON value. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, json_type type) noexcept |
| Write the JSON type to the output stream. | |
| std::ostream & | operator<< (std::ostream &out, simdjson_result< json_type > &type) noexcept(false) |
| Send JSON type to an output stream. | |
| simdjson_unused simdjson_inline bool | operator== (const raw_json_string &a, std::string_view c) noexcept |
| Comparisons between raw_json_string and std::string_view instances are potentially unsafe: the user is responsible for providing a string with no unescaped quote. | |
| simdjson_unused simdjson_inline bool | operator== (std::string_view c, const raw_json_string &a) noexcept |
| simdjson_unused simdjson_inline bool | operator!= (const raw_json_string &a, std::string_view c) noexcept |
| simdjson_unused simdjson_inline bool | operator!= (std::string_view c, const raw_json_string &a) noexcept |
| simdjson_unused simdjson_inline std::ostream & | operator<< (std::ostream &out, const raw_json_string &str) noexcept |
| std::ostream & | operator<< (std::ostream &out, simdjson::SIMDJSON_IMPLEMENTATION::ondemand::value x) |
| Print JSON to an output stream. | |
| std::ostream & | operator<< (std::ostream &out, simdjson::simdjson_result< simdjson::SIMDJSON_IMPLEMENTATION::ondemand::value > x) |
| std::ostream & | operator<< (std::ostream &out, simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array value) |
| Print JSON to an output stream. | |
| std::ostream & | operator<< (std::ostream &out, simdjson::simdjson_result< simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array > x) |
| std::ostream & | operator<< (std::ostream &out, simdjson::SIMDJSON_IMPLEMENTATION::ondemand::document &value) |
| Print JSON to an output stream. | |
| std::ostream & | operator<< (std::ostream &out, simdjson::SIMDJSON_IMPLEMENTATION::ondemand::document_reference &value) |
| std::ostream & | operator<< (std::ostream &out, simdjson::simdjson_result< simdjson::SIMDJSON_IMPLEMENTATION::ondemand::document > &&x) |
| std::ostream & | operator<< (std::ostream &out, simdjson::simdjson_result< simdjson::SIMDJSON_IMPLEMENTATION::ondemand::document_reference > &&x) |
| std::ostream & | operator<< (std::ostream &out, simdjson::SIMDJSON_IMPLEMENTATION::ondemand::object value) |
| Print JSON to an output stream. | |
| std::ostream & | operator<< (std::ostream &out, simdjson::simdjson_result< simdjson::SIMDJSON_IMPLEMENTATION::ondemand::object > x) |
| bool | is_pointer_well_formed (std::string_view json_pointer) noexcept |
A fast, simple, DOM-like interface that parses JSON as you use it.
Designed for maximum speed and a lower memory profile.
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::depth_t = typedef int32_t |
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::number_type = typedef simdjson::SIMDJSON_IMPLEMENTATION::number_type |
|
strong |
The type of a JSON value.
Definition at line 17 of file json_type.h.
|
inlinenoexcept |
Definition at line 266 of file value-inl.h.
|
noexcept |
Definition at line 155 of file raw_json_string-inl.h.
|
noexcept |
Definition at line 159 of file raw_json_string-inl.h.
|
noexcept |
Definition at line 172 of file raw_json_string-inl.h.
|
inlinenoexcept |
Write the JSON type to the output stream.
| out | The output stream. |
| type | The json_type. |
Definition at line 14 of file json_type-inl.h.
|
inline |
Print JSON to an output stream.
It does not validate the content.
| out | The output stream. |
| value | The array. |
| if | there is an error with the underlying output stream. simdjson itself will not throw. |
Definition at line 145 of file serialization-inl.h.
|
inline |
Print JSON to an output stream.
It does not validate the content.
| out | The output stream. |
| value | The array. |
| if | there is an error with the underlying output stream. simdjson itself will not throw. |
Definition at line 171 of file serialization-inl.h.
|
inline |
Definition at line 180 of file serialization-inl.h.
|
inline |
Print JSON to an output stream.
It does not validate the content.
| out | The output stream. |
| value | The object. |
| if | there is an error with the underlying output stream. simdjson itself will not throw. |
Definition at line 210 of file serialization-inl.h.
|
inline |
Print JSON to an output stream.
It does not validate the content.
| out | The output stream. |
| value | The element. |
| if | there is an error with the underlying output stream. simdjson itself will not throw. |
Definition at line 119 of file serialization-inl.h.
|
inline |
Definition at line 154 of file serialization-inl.h.
|
inline |
Definition at line 189 of file serialization-inl.h.
|
inline |
Definition at line 193 of file serialization-inl.h.
|
inline |
Definition at line 219 of file serialization-inl.h.
|
inline |
Definition at line 128 of file serialization-inl.h.
|
inline |
Send JSON type to an output stream.
| out | The output stream. |
| type | The json_type. |
| simdjson_error | if the result being printed has an error. If there is an error with the underlying output stream, that error will be propagated (simdjson_error will not be thrown). |
Definition at line 28 of file json_type-inl.h.
|
noexcept |
Comparisons between raw_json_string and std::string_view instances are potentially unsafe: the user is responsible for providing a string with no unescaped quote.
Note that unescaped quotes cannot be present in valid JSON strings.
Definition at line 147 of file raw_json_string-inl.h.
|
noexcept |
Definition at line 151 of file raw_json_string-inl.h.