aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/json2proto.cpp
diff options
context:
space:
mode:
authorchegoryu <chegoryu@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commite4b93027b4c6dbd741ebd637f0b5db1d583ee93f (patch)
tree8b70986cdec2c8b7996f47c0429a6ec5dcd09392 /library/cpp/protobuf/json/json2proto.cpp
parent095c2e55a230f89487c2f2caace05e108742d72c (diff)
downloadydb-e4b93027b4c6dbd741ebd637f0b5db1d583ee93f.tar.gz
Restoring authorship annotation for <chegoryu@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json2proto.cpp')
-rw-r--r--library/cpp/protobuf/json/json2proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/protobuf/json/json2proto.cpp b/library/cpp/protobuf/json/json2proto.cpp
index 640c10f5a5..9a13f0abd0 100644
--- a/library/cpp/protobuf/json/json2proto.cpp
+++ b/library/cpp/protobuf/json/json2proto.cpp
@@ -408,7 +408,7 @@ namespace NProtobufJson {
void MergeJson2Proto(const TStringBuf& json, google::protobuf::Message& proto, const TJson2ProtoConfig& config) {
NJson::TJsonReaderConfig jsonCfg;
jsonCfg.DontValidateUtf8 = true;
- jsonCfg.AllowComments = config.AllowComments;
+ jsonCfg.AllowComments = config.AllowComments;
NJson::TJsonValue jsonValue;
ReadJsonTree(json, &jsonCfg, &jsonValue, /* throwOnError = */ true);