aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/proto2json_printer.h
diff options
context:
space:
mode:
authorsashashkov <sashashkov@yandex-team.com>2024-06-11 13:03:18 +0300
committersashashkov <sashashkov@yandex-team.com>2024-06-12 10:26:35 +0300
commit67e7cccc330744cdb98035e309f626c1f63afb84 (patch)
treef29f638710ae5223dbb7a56e427aea6c551bdff6 /library/cpp/protobuf/json/proto2json_printer.h
parenta26a1f012a93e209458200c2ba8ae484a45a6c54 (diff)
downloadydb-67e7cccc330744cdb98035e309f626c1f63afb84.tar.gz
Implement number stringification for repeated fields as well
4ab5908e416439366466d984fc08db7254401884
Diffstat (limited to 'library/cpp/protobuf/json/proto2json_printer.h')
-rw-r--r--library/cpp/protobuf/json/proto2json_printer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/protobuf/json/proto2json_printer.h b/library/cpp/protobuf/json/proto2json_printer.h
index 360e66ad2f..c3547dab6b 100644
--- a/library/cpp/protobuf/json/proto2json_printer.h
+++ b/library/cpp/protobuf/json/proto2json_printer.h
@@ -60,6 +60,9 @@ namespace NProtobufJson {
template <class T>
bool NeedStringifyNumber(T value) const;
+ template <class T>
+ bool NeedStringifyRepeatedNumber(T value) const;
+
bool TryPrintAny(const NProtoBuf::Message& proto, IJsonOutput& json);
void PrintFields(const NProtoBuf::Message& proto, IJsonOutput& json);