5#include <userver/formats/json/parser/typed_parser.hpp>
9namespace formats::json::
parser {
11template <
typename T =
int>
19 std::string GetPathItem()
const override {
return {}; }
21 std::string Expected()
const override {
return "integer"; }
23 void Int64(std::int64_t i)
override;
25 void Uint64(std::uint64_t i)
override;
27 void Double(
double value)
override;
35 std::string GetPathItem()
const override {
return {}; }
37 std::string Expected()
const override {
return "integer"; }
39 void Int64(std::int64_t i)
override;
41 void Uint64(std::uint64_t i)
override;
43 void Double(
double value)
override;
46using IntParser = IntegralParser<std::int32_t>;
47using Int32Parser = IntegralParser<std::int32_t>;
48using Int64Parser = IntegralParser<std::int64_t>;