|
JSON Voorhees
Killer JSON for C++
|
Inheritance diagram for jsonv::ast_node::key_canonical:
Collaboration diagram for jsonv::ast_node::key_canonical:Additional Inherited Members | |
Public Types inherited from jsonv::ast_node::basic_string_token< key_canonical, ast_node_type::key_canonical, false > | |
| using | value_type = std::conditional_t< KEscaped, std::string, string_view > |
The return type of value is based on if the string is canonical or escaped. | |
Public Member Functions inherited from jsonv::ast_node::basic_string_token< key_canonical, ast_node_type::key_canonical, false > | |
| constexpr | basic_string_token (const char *token_begin, std::size_t token_size) |
| constexpr bool | canonical () const noexcept |
Was the source JSON for this string encoded in the canonical UTF-8 representation? If this is true, there is no need to translate JSON escape sequences to extract a std::string value. | |
| constexpr bool | escaped () const noexcept |
Did the source JSON for this string contain escape sequences? If this is true, JSON escape sequences must be translated into their canonical UTF-8 representation on extraction. | |
| constexpr std::size_t | token_size () const |
| value_type | value () const |
Public Member Functions inherited from jsonv::ast_node::basic_dynamic_size_token< TSelf, KIndexToken > | |
| constexpr | basic_dynamic_size_token (const char *token_begin, std::size_t token_size) |
| constexpr std::size_t | token_size () const |
Public Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| string_view | token_raw () const |
| operator ast_node () const | |
Allow implicit conversion to the more generic ast_node. | |
Static Public Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| static constexpr ast_node_type | type () |
Get the ast_node_type type. | |
Protected Member Functions inherited from jsonv::ast_node::base< TSelf, KIndexToken > | |
| constexpr | base (const char *token_begin) |