summaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/name_generator.h
blob: e9ce067800f528df4548be631dd237512c337a53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once 
 
#include <util/generic/string.h> 
 
#include <functional> 
 
namespace google { 
    namespace protobuf {
        class FieldDescriptor;
        class EnumValueDescriptor;
    }
}
 
namespace NProtobufJson { 
    using TNameGenerator = std::function<TString(const google::protobuf::FieldDescriptor&)>;
    using TEnumValueGenerator = std::function<TString(const google::protobuf::EnumValueDescriptor&)>;
 
}