JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
jsonv::ast_node::key_escaped Class Referencefinal
+ Inheritance diagram for jsonv::ast_node::key_escaped:
+ Collaboration diagram for jsonv::ast_node::key_escaped:

Additional Inherited Members

- Public Types inherited from jsonv::ast_node::basic_string_token< key_escaped, ast_node_type::key_escaped, true >
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_escaped, ast_node_type::key_escaped, true >
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)
 

Detailed Description

Definition at line 349 of file ast.hpp.


The documentation for this class was generated from the following file: