![]() |
DAW JSON Link
|
#include <daw_json_value_state.h>
Public Member Functions | |
constexpr | basic_stateful_json_value () |
constexpr | basic_stateful_json_value (basic_json_value< ParseState > val) |
constexpr | basic_stateful_json_value (std::string_view json_data) |
template<typename Integer , std::enable_if_t< std::is_integral_v< Integer >, std::nullptr_t > = nullptr> | |
constexpr std::optional< basic_json_value< ParseState > > | at (Integer index) |
constexpr basic_json_value< ParseState > | at (std::string_view key) |
constexpr bool | contains (std::size_t index) |
constexpr bool | contains (std::string_view key) |
constexpr basic_json_value< ParseState > | get_json_value () const |
std::size_t | index_of (std::string_view key) |
template<typename Integer , std::enable_if_t< std::is_integral_v< Integer >, std::nullptr_t > = nullptr> | |
std::optional< std::string_view > | name_of (Integer index) |
template<typename Integer , std::enable_if_t< std::is_integral_v< Integer >, std::nullptr_t > = nullptr> | |
constexpr basic_json_value< ParseState > | operator[] (Integer index) |
constexpr basic_json_value< ParseState > | operator[] (json_member_name member) |
constexpr basic_json_value< ParseState > | operator[] (std::string_view key) |
constexpr void | reset (basic_json_value< ParseState > val) |
std::size_t | size () |
Maintains the parse positions of a json_value so that you pay the lookup costs once
ParseState | see IteratorRange |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Reuse state storage for another basic_json_value
val | Value to contain state for |
|
inline |