GithubHelp home page GithubHelp logo

Comments (8)

jhunters avatar jhunters commented on July 20, 2024

该功能只开放给内部,你那边具体的需求是? 目前jprotobuf可支持直接从.proto文件生成代理对象
ProtobufIDLProxy 可当作类似map对象的操作

from jprotobuf.

vontio avatar vontio commented on July 20, 2024

服务器端自己使用存库的 可以用POJO->proto.
通信部分是前后端已经协商定义的proto文件,需要从proto->POJO.

找到这个库最原始的需求是因为原生的protobuf各种Builder转换太麻烦.
而jprotobuf可以直接从POJO encode 这个就是原始的需求.

from jprotobuf.

jhunters avatar jhunters commented on July 20, 2024

需要从proto->POJO. 可以开放出来。

from jprotobuf.

jhunters avatar jhunters commented on July 20, 2024

将在 1.7.4版本添加,请关注版本发布信息,谢谢!

from jprotobuf.

vontio avatar vontio commented on July 20, 2024

谢谢! 有计划什么时候推出1.7.4吗
另外问一下 jprotobuf encode decode 的性能如何

from jprotobuf.

jhunters avatar jhunters commented on July 20, 2024

预计 本周日发布。

jprotobuf 主要性能消耗在 扫描类上注解,动态生成代码编译的过程。
在执行序列化与反序列化的过程中,几乎与protobuf生成的代码效率等同。

from jprotobuf.

vontio avatar vontio commented on July 20, 2024

好的好的,期待啊

from jprotobuf.

jhunters avatar jhunters commented on July 20, 2024

1.7.4 is out now
added features:
ProtobufIDLProxy增加从proto描述文件生成带注解的java POJO对象的功能 详见readme说明

from jprotobuf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.