diff options
| author | familom <[email protected]> | 2022-02-10 16:49:49 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:49 +0300 | 
| commit | f281aaf77179d27d6208b873e95ae6cd45765a63 (patch) | |
| tree | b4229c6ece98c855bd9821ef0b656042c29a8953 /library/cpp/protobuf/json/json2proto.h | |
| parent | 53d07fb9e28d179add32cd299c9341bf8a231a31 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json2proto.h')
| -rw-r--r-- | library/cpp/protobuf/json/json2proto.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h index 4c33498dfa3..343502aab2e 100644 --- a/library/cpp/protobuf/json/json2proto.h +++ b/library/cpp/protobuf/json/json2proto.h @@ -1,5 +1,5 @@ -#pragma once - +#pragma once  +   #include "string_transform.h"  #include "name_generator.h" @@ -9,18 +9,18 @@  #include <util/stream/input.h>  #include <util/stream/str.h>  #include <util/stream/mem.h> - +   namespace google {      namespace protobuf {          class Message;      }  } -namespace NProtobufJson { +namespace NProtobufJson {       struct TJson2ProtoConfig {          using TSelf = TJson2ProtoConfig;          using TValueVectorizer = std::function<NJson::TJsonValue::TArray(const NJson::TJsonValue& jsonValue)>; - +           enum FldNameMode {              FieldNameOriginalCase = 0, // default              FieldNameLowerCase, @@ -167,7 +167,7 @@ namespace NProtobufJson {      /// @throw yexception      void Json2Proto(const TStringBuf& json, google::protobuf::Message& proto,                      const TJson2ProtoConfig& config = TJson2ProtoConfig()); - +       /// @throw yexception      inline void Json2Proto(const TString& json, google::protobuf::Message& proto,                             const TJson2ProtoConfig& config = TJson2ProtoConfig()) {  | 
