simdjson  3.11.0
Ridiculously Fast JSON
simdjson::simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::document > Struct Reference
Inheritance diagram for simdjson::simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::document >:
simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::document >

Public Member Functions

simdjson_inline error_code rewind () noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::arrayget_array () &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::objectget_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_stringget_raw_json_string () noexcept
 
simdjson_inline simdjson_result< bool > get_bool () noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valueget_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::valueat (size_t index) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::array_iteratorbegin () &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::array_iteratorend () &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valuefind_field (std::string_view key) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valuefind_field (const char *key) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valueoperator[] (std::string_view key) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valueoperator[] (const char *key) &noexcept
 
simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valueoperator[] (int) &noexcept=delete
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valuefind_field_unordered (std::string_view key) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valuefind_field_unordered (const char *key) &noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::json_typetype () 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::numberget_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::valueat_pointer (std::string_view json_pointer) noexcept
 
simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::valueat_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::documentget () &noexcept=delete
 
template<>
simdjson_deprecated simdjson_inline simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::documentget () &&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
 
- Public Member Functions inherited from simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::document >
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::documentvalue () &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::documentvalue_unsafe () const &noexcept
 Get the result value. More...
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::documentvalue_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

- Protected Attributes inherited from simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::document >
SIMDJSON_IMPLEMENTATION::ondemand::document first
 users should never directly access first and second.
 
error_code second
 Users should never directly access 'first'.
 

Detailed Description

Definition at line 885 of file document.h.

Member Function Documentation

◆ raw_json_token()

simdjson_inline simdjson_result< std::string_view > simdjson::simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::document >::raw_json_token ( )
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.


The documentation for this struct was generated from the following files: