aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/name_generator.h
blob: d238283d0316e8ce146f40e22a2bbc18ef107a94 (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&)>; 

}