userver: userver/formats/json/parser/bool_parser.hpp Source File
Loading...
Searching...
No Matches
bool_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 BoolParser final : public formats::json::parser::TypedParser<bool> {
10 public:
11 using formats::json::parser::TypedParser<bool>::TypedParser;
12
13 protected:
14 void Bool(bool b) override;
15
16 std::string GetPathItem() const override;
17
18 std::string Expected() const override;
19};
20
21} // namespace formats::json::parser
22
23USERVER_NAMESPACE_END