diff options
author | art-snake <art-snake@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
commit | 1700010e2088971894d12a7a16d6004866f986fd (patch) | |
tree | ac3b38289119375037d595858db9751013220a3f /library/cpp/protobuf/json/config.h | |
parent | 785bc0acdf3b0c63f971ee17e845945d7381dcb7 (diff) | |
download | ydb-1700010e2088971894d12a7a16d6004866f986fd.tar.gz |
Restoring authorship annotation for <art-snake@yandex-team.ru>. Commit 1 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 dc84fb4d5d..ae06b3d8ec 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; |