11#include <userver/dump/common.hpp>
12#include <userver/dump/operations.hpp>
13#include <userver/dump/unsafe.hpp>
14#include <userver/formats/json/serialize.hpp>
15#include <userver/formats/json/string_builder.hpp>
16#include <userver/formats/json/value.hpp>
18USERVER_NAMESPACE_BEGIN
30 WriteToStream(contents, sb);
32 WriteStringViewUnsafe(writer,
"\n");
42 return std::make_unique<
const T>(formats::json::FromString(ReadEntire(reader)).As<T>());