userver
C++ Async Framework
Loading...
Searching...
No Matches
string_parser.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/formats/json/parser/string_parser.hpp
4
/// @brief @copybrief formats::json::parser::StringParser
5
/// @ingroup userver_universal
6
7
#
include
<
userver
/
formats
/
json
/
parser
/
typed_parser
.
hpp
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
formats::json::
parser
{
12
13
/// @brief SAX parser for JSON string values.
14
class
StringParser
final
:
public
TypedParser
<std::string> {
15
public
:
16
using
TypedParser
::TypedParser;
17
18
protected
:
19
void
String(std::string_view sw)
override
;
20
21
std::string GetPathItem()
const
override
{
return
{}; }
22
23
std::string Expected()
const
override
;
24
};
25
26
}
// namespace formats::json::parser
27
28
USERVER_NAMESPACE_END
userver
formats
json
parser
string_parser.hpp
Generated on Thu May 21 2026 16:22:25 for userver by
Doxygen
1.13.2