aboutsummaryrefslogblamecommitdiffstats
path: root/library/cpp/protobuf/json/name_generator.h
blob: 2b5361bee2e84f80da674c19dcb5cf450dc60ddc (plain) (tree)
1
2
3
4
5
6
7





                                



                                  
                         
                                                                                                     
 
 
#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&)>;

}