#include <daw_json_find_path.h>
|
constexpr long long | index () const |
| The element index, only valid for elements of Array types. More...
|
|
constexpr std::string_view | name () const |
| The member name, only value for submembers of Class types. More...
|
|
constexpr JsonBaseParseTypes | type () const |
| What type of value is represented. More...
|
|
constexpr char const * | value_start () const |
| The beginning of the value's data in JSON document. More...
|
|
◆ index()
constexpr long long daw::json::DAW_JSON_VER::json_path_node::index |
( |
| ) |
const |
|
inlineconstexpr |
The element index, only valid for elements of Array types.
◆ name()
constexpr std::string_view daw::json::DAW_JSON_VER::json_path_node::name |
( |
| ) |
const |
|
inlineconstexpr |
The member name, only value for submembers of Class types.
◆ type()
What type of value is represented.
◆ value_start()
constexpr char const* daw::json::DAW_JSON_VER::json_path_node::value_start |
( |
| ) |
const |
|
inlineconstexpr |
The beginning of the value's data in JSON document.
◆ find_json_path_stack_to
std::vector<json_path_node> find_json_path_stack_to |
( |
char const * |
parse_location, |
|
|
char const * |
doc_start |
|
) |
| |
|
friend |
Get the json_path_nodes representing the path to the nearest value's position in the document.
- Parameters
-
parse_location | The position in the document to find |
doc_start | A pointer to the stat of the JSON document |
The documentation for this class was generated from the following file: