diff options
| author | mishatag <[email protected]> | 2025-09-22 16:11:07 +0300 |
|---|---|---|
| committer | mishatag <[email protected]> | 2025-09-22 16:46:31 +0300 |
| commit | 1060f634e2b3a8bf2a16e095a42d7c65630b288a (patch) | |
| tree | b1c452f9cf978e2516f1504dd78e238eb66a3c3e /library/cpp | |
| parent | d6b075980c97a2ad9067b0dd7bd92ae3523abefb (diff) | |
Set default value for TJson2ProtoConfig fields
commit_hash:fdec34dfe80bd9706dd05dd54307986dc99abaa5
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/protobuf/json/json2proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h index 45b589d171d..019dd177174 100644 --- a/library/cpp/protobuf/json/json2proto.h +++ b/library/cpp/protobuf/json/json2proto.h @@ -134,7 +134,7 @@ namespace NProtobufJson { bool UseJsonEnumValue = false; /// Transforms will be applied only to string values (== protobuf fields of string / bytes type). - TVector<TStringTransformPtr> StringTransforms; + TVector<TStringTransformPtr> StringTransforms = {}; /// Cast string json values to protobuf field type bool CastFromString = false; @@ -163,7 +163,7 @@ namespace NProtobufJson { bool VectorizeScalars = false; /// Custom spliter non array value to repeated fields. - TValueVectorizer ValueVectorizer; + TValueVectorizer ValueVectorizer = {}; /// Allow js-style comments (both // and /**/) bool AllowComments = false; |
