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

}