userver: userver/formats/json/parser/string_parser.hpp Source File
Loading...
Searching...
No Matches
string_parser.hpp
1#pragma once
2
3#include <userver/formats/json/parser/typed_parser.hpp>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace formats::json::parser {
8
9class StringParser final : public TypedParser<std::string> {
10public:
11 using TypedParser::TypedParser;
12
13protected:
14 void String(std::string_view sw) override;
15
16 std::string GetPathItem() const override { return {}; }
17
18 std::string Expected() const override;
19};
20
21} // namespace formats::json::parser
22
23USERVER_NAMESPACE_END