![]() |
simdjson
3.11.0
Ridiculously Fast JSON
|
Public Member Functions | |
simdjson_inline error_code | rewind () noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::array > | get_array () &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::object > | get_object () &noexcept |
simdjson_inline simdjson_result< uint64_t > | get_uint64 () noexcept |
simdjson_inline simdjson_result< uint64_t > | get_uint64_in_string () noexcept |
simdjson_inline simdjson_result< int64_t > | get_int64 () noexcept |
simdjson_inline simdjson_result< int64_t > | get_int64_in_string () noexcept |
simdjson_inline simdjson_result< double > | get_double () noexcept |
simdjson_inline simdjson_result< double > | get_double_in_string () noexcept |
simdjson_inline simdjson_result< std::string_view > | get_string (bool allow_replacement=false) noexcept |
template<typename string_type > | |
simdjson_inline error_code | get_string (string_type &receiver, bool allow_replacement=false) noexcept |
simdjson_inline simdjson_result< std::string_view > | get_wobbly_string () noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::raw_json_string > | get_raw_json_string () noexcept |
simdjson_inline simdjson_result< bool > | get_bool () noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | get_value () noexcept |
simdjson_inline simdjson_result< bool > | is_null () noexcept |
template<typename T > | |
simdjson_inline simdjson_result< T > | get () &noexcept |
template<typename T > | |
simdjson_deprecated simdjson_inline simdjson_result< T > | get () &&noexcept |
template<typename T > | |
simdjson_inline error_code | get (T &out) &noexcept |
template<typename T > | |
simdjson_inline error_code | get (T &out) &&noexcept |
template<class T , typename std::enable_if< std::is_same< T, SIMDJSON_IMPLEMENTATION::ondemand::document >::value==false >::type > | |
simdjson_inline | operator T () noexcept(false) |
simdjson_inline | operator SIMDJSON_IMPLEMENTATION::ondemand::array () &noexcept(false) |
simdjson_inline | operator SIMDJSON_IMPLEMENTATION::ondemand::object () &noexcept(false) |
simdjson_inline | operator uint64_t () noexcept(false) |
simdjson_inline | operator int64_t () noexcept(false) |
simdjson_inline | operator double () noexcept(false) |
simdjson_inline | operator std::string_view () noexcept(false) |
simdjson_inline | operator SIMDJSON_IMPLEMENTATION::ondemand::raw_json_string () noexcept(false) |
simdjson_inline | operator bool () noexcept(false) |
simdjson_inline | operator SIMDJSON_IMPLEMENTATION::ondemand::value () noexcept(false) |
simdjson_inline simdjson_result< size_t > | count_elements () &noexcept |
simdjson_inline simdjson_result< size_t > | count_fields () &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | at (size_t index) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::array_iterator > | begin () &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::array_iterator > | end () &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | find_field (std::string_view key) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | find_field (const char *key) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | operator[] (std::string_view key) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | operator[] (const char *key) &noexcept |
simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | operator[] (int) &noexcept=delete |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | find_field_unordered (std::string_view key) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | find_field_unordered (const char *key) &noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::json_type > | type () noexcept |
simdjson_inline simdjson_result< bool > | is_scalar () noexcept |
simdjson_inline simdjson_result< bool > | is_string () noexcept |
simdjson_inline simdjson_result< const char * > | current_location () noexcept |
simdjson_inline int32_t | current_depth () const noexcept |
simdjson_inline bool | at_end () const noexcept |
simdjson_inline bool | is_negative () noexcept |
simdjson_inline simdjson_result< bool > | is_integer () noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::number_type > | get_number_type () noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::number > | get_number () noexcept |
simdjson_inline simdjson_result< std::string_view > | raw_json_token () noexcept |
std::string_view document::raw_json_token() const noexcept More... | |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | at_pointer (std::string_view json_pointer) noexcept |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::value > | at_path (std::string_view json_path) noexcept |
template<typename T > | |
simdjson_inline simdjson_result< T > | get () &noexcept |
template<typename T > | |
simdjson_deprecated simdjson_inline simdjson_result< T > | get () &&noexcept |
template<typename T > | |
simdjson_inline error_code | get (T &out) &noexcept |
template<typename T > | |
simdjson_inline error_code | get (T &out) &&noexcept |
template<> | |
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::document > | get () &noexcept=delete |
template<> | |
simdjson_deprecated simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::document > | get () &&noexcept |
template<> | |
simdjson_inline error_code | get (SIMDJSON_IMPLEMENTATION::ondemand::document &out) &noexcept=delete |
template<> | |
simdjson_inline error_code | get (SIMDJSON_IMPLEMENTATION::ondemand::document &out) &&noexcept |
![]() | |
simdjson_inline | implementation_simdjson_result_base () noexcept=default |
Create a new empty result with error = UNINITIALIZED. | |
simdjson_inline | implementation_simdjson_result_base (error_code error) noexcept |
Create a new error result. | |
simdjson_inline | implementation_simdjson_result_base (SIMDJSON_IMPLEMENTATION::ondemand::document &&value) noexcept |
Create a new successful result. | |
simdjson_inline | implementation_simdjson_result_base (SIMDJSON_IMPLEMENTATION::ondemand::document &&value, error_code error) noexcept |
Create a new result with both things (use if you don't want to branch when creating the result). | |
simdjson_inline void | tie (SIMDJSON_IMPLEMENTATION::ondemand::document &value, error_code &error) &&noexcept |
Move the value and the error to the provided variables. More... | |
simdjson_inline error_code | get (SIMDJSON_IMPLEMENTATION::ondemand::document &value) &&noexcept |
Move the value to the provided variable. More... | |
simdjson_inline error_code | error () const noexcept |
The error. | |
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::document & | value () &noexcept(false) |
Get the result value. More... | |
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::document && | value () &&noexcept(false) |
Take the result value (move it). More... | |
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::document && | take_value () &&noexcept(false) |
Take the result value (move it). More... | |
simdjson_inline | operator SIMDJSON_IMPLEMENTATION::ondemand::document && () &&noexcept(false) |
Cast to the value (will throw on error). More... | |
simdjson_inline const SIMDJSON_IMPLEMENTATION::ondemand::document & | value_unsafe () const &noexcept |
Get the result value. More... | |
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::document & | value_unsafe () &noexcept |
Get the result value. More... | |
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::document && | value_unsafe () &&noexcept |
Take the result value (move it). More... | |
Additional Inherited Members | |
![]() | |
SIMDJSON_IMPLEMENTATION::ondemand::document | first |
users should never directly access first and second. | |
error_code | second |
Users should never directly access 'first'. | |
Definition at line 885 of file document.h.
|
noexcept |
std::string_view document::raw_json_token() const noexcept
std::string_view document::raw_json_token() const noexcept
Definition at line 603 of file document-inl.h.