blob: ab63a89a11095201ac4cfb5eb874a25f04eac501 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "config.h"
#include "json_output.h"
namespace NJson {
class TJsonValue;
class TJsonWriter;
struct TJsonWriterConfig;
}
class IOutputStream;
class TStringStream;
namespace NProtobufJson {
TJsonMapOutputPtr CreateJsonMapOutput(IOutputStream& out, const NJson::TJsonWriterConfig& config);
TJsonMapOutputPtr CreateJsonMapOutput(NJson::TJsonWriter& writer);
TJsonMapOutputPtr CreateJsonMapOutput(IOutputStream& out, const TProto2JsonConfig& config = TProto2JsonConfig());
TJsonMapOutputPtr CreateJsonMapOutput(TString& str, const TProto2JsonConfig& config = TProto2JsonConfig());
TJsonMapOutputPtr CreateJsonMapOutput(NJson::TJsonValue& json);
}
|