3#include <userver/formats/json/parser/typed_parser.hpp>
4#include <userver/formats/json/value.hpp>
5#include <userver/utils/fast_pimpl.hpp>
12class JsonValueParser
final :
public TypedParser<Value> {
15 ~JsonValueParser() override;
18 void Bool(
bool) override;
19 void Int64(int64_t) override;
20 void Uint64(uint64_t) override;
21 void Double(
double) override;
22 void String(std::string_view)
override;
23 void StartObject() override;
24 void Key(std::string_view key)
override;
25 void EndObject(size_t)
override;
26 void StartArray() override;
27 void EndArray(size_t)
override;
29 std::string Expected()
const override;
34 std::string GetPathItem()
const override {
return {}; }
37 utils::FastPimpl<Impl, 127, 8> impl_;