diff options
author | art-snake <art-snake@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
commit | dc5517df41fe6319ff249956fe5650e4bbc3e660 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/config.h | |
parent | 1700010e2088971894d12a7a16d6004866f986fd (diff) | |
download | ydb-dc5517df41fe6319ff249956fe5650e4bbc3e660.tar.gz |
Restoring authorship annotation for <art-snake@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/config.h')
-rw-r--r-- | library/cpp/protobuf/json/config.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/protobuf/json/config.h b/library/cpp/protobuf/json/config.h index ae06b3d8ec5..dc84fb4d5db 100644 --- a/library/cpp/protobuf/json/config.h +++ b/library/cpp/protobuf/json/config.h @@ -15,20 +15,20 @@ namespace NProtobufJson { bool FormatOutput = false; enum MissingKeyMode { - // Skip missing keys + // Skip missing keys MissingKeySkip = 0, - // Fill missing keys with json null value. + // Fill missing keys with json null value. MissingKeyNull, - // Use default value in any case. - // If default value is not explicitly defined, use default type value: - // i.e. 0 for integers, "" for strings - // For repeated keys, means [] - MissingKeyDefault, - // Use default value if it is explicitly specified for optional fields. - // Skip if no explicitly defined default value for optional fields. - // Throw exception if required field is empty. - // For repeated keys, same as MissingKeySkip - MissingKeyExplicitDefaultThrowRequired + // Use default value in any case. + // If default value is not explicitly defined, use default type value: + // i.e. 0 for integers, "" for strings + // For repeated keys, means [] + MissingKeyDefault, + // Use default value if it is explicitly specified for optional fields. + // Skip if no explicitly defined default value for optional fields. + // Throw exception if required field is empty. + // For repeated keys, same as MissingKeySkip + MissingKeyExplicitDefaultThrowRequired }; MissingKeyMode MissingSingleKeyMode = MissingKeySkip; MissingKeyMode MissingRepeatedKeyMode = MissingKeySkip; |