userver: formats::json::parser::StringParser Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
formats::json::parser::StringParser Class Referencefinal
+ Inheritance diagram for formats::json::parser::StringParser:
+ Collaboration diagram for formats::json::parser::StringParser:

Protected Member Functions

void String (std::string_view sw) override
 
std::string GetPathItem () const override
 
std::string Expected () const override
 
- Protected Member Functions inherited from formats::json::parser::TypedParser< std::string >
void SetResult (std::string &&value)
 
- Protected Member Functions inherited from formats::json::parser::BaseParser
void Throw (const std::string &found)
 

Additional Inherited Members

- Public Types inherited from formats::json::parser::TypedParser< std::string >
using ResultType = std::string
 
- Public Member Functions inherited from formats::json::parser::TypedParser< std::string >
void Subscribe (Subscriber< std::string > &subscriber)
 
virtual void Reset ()
 
TypedParser< std::string > & GetParser ()
 
- Public Member Functions inherited from formats::json::parser::BaseParser
virtual void Null ()
 
virtual void Bool (bool)
 
virtual void Int64 (int64_t)
 
virtual void Uint64 (uint64_t)
 
virtual void Double (double)
 
virtual void StartObject ()
 
virtual void Key (std::string_view key)
 
virtual void EndObject ()
 
virtual void StartArray ()
 
virtual void EndArray ()
 
virtual void EndObject (size_t)
 
virtual void EndArray (size_t)
 
void SetState (ParserState &state)
 
- Protected Attributes inherited from formats::json::parser::BaseParser
ParserStateparser_state_ {nullptr}
 

Detailed Description

Definition at line 9 of file string_parser.hpp.

Member Function Documentation

◆ Expected()

std::string formats::json::parser::StringParser::Expected ( ) const
overrideprotectedvirtual

◆ GetPathItem()

std::string formats::json::parser::StringParser::GetPathItem ( ) const
inlineoverrideprotectedvirtual

Implements formats::json::parser::BaseParser.

Definition at line 16 of file string_parser.hpp.

◆ String()

void formats::json::parser::StringParser::String ( std::string_view  sw)
overrideprotectedvirtual

Reimplemented from formats::json::parser::BaseParser.


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