1#include <userver/protobuf/json/convert.hpp>
3#include <protobuf/json/impl/read.hpp>
4#include <protobuf/json/impl/write.hpp>
8namespace protobuf::
json {
11 const ::google::protobuf::Message& message,
12 const WriteOptions& options
14 return impl::WriteMessage(message, options);
17void JsonToMessage(
const formats::json::Value& json,
const ReadOptions& options, ::google::protobuf::Message& message) {
18 impl::ReadMessage(json, options, message);
25json::Value Serialize(
const ::google::protobuf::Message& message, To<json::Value>) {
26 return protobuf::json::MessageToJson(message);