diff options
author | stakanviski <stakanviski@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
commit | da8356a5535e6177965cba3bbae73c5fb28f6ccc (patch) | |
tree | 61a6bb4fa5e2c51ac92f621f5a9eba5658d8aba0 /library/cpp/protobuf/json/config.h | |
parent | c345445ed6cb1fc34136ef6f02ce07f5aff9e504 (diff) | |
download | ydb-da8356a5535e6177965cba3bbae73c5fb28f6ccc.tar.gz |
Restoring authorship annotation for <stakanviski@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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/json/config.h b/library/cpp/protobuf/json/config.h index dc84fb4d5d..7168b6b012 100644 --- a/library/cpp/protobuf/json/config.h +++ b/library/cpp/protobuf/json/config.h @@ -4,7 +4,7 @@ #include "name_generator.h" #include <util/generic/vector.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <functional> @@ -68,7 +68,7 @@ namespace NProtobufJson { /// Transforms will be applied only to string values (== protobuf fields of string / bytes type). /// yajl_encode_string will be used if no transforms are specified. TVector<TStringTransformPtr> StringTransforms; - + /// Print map as object, otherwise print it as array of key/value objects bool MapAsObject = false; @@ -134,7 +134,7 @@ namespace NProtobufJson { StringTransforms.push_back(transform); return *this; } - + TSelf& SetMapAsObject(bool value) { MapAsObject = value; return *this; |