Protobuf-net serialization without annotation

后端 未结 3 1925
一个人的身影
一个人的身影 2020-12-08 01:19

I looked at this answer and I am in a situation where I don\'t need to maintain backward compatibility and I have to have a solution that works without having to decorate do

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 01:34

    It's quite experimental at this phase but I've made a small library that takes most Types and generates the Protobuf-net serializers at run-time: https://github.com/fnicollier/AutoProtobuf

提交回复
热议问题