{"action":"created","issue":{"url":"https://api.github.com/repos/jhunters/jprotobuf/issues/27","labels_url":"https://api.github.com/repos/jhunters/jprotobuf/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jhunters/jprotobuf/issues/27/comments","events_url":"https://api.github.com/repos/jhunters/jprotobuf/issues/27/events","html_url":"https://github.com/jhunters/jprotobuf/issues/27","id":91781626,"number":27,"title":"由.proto 生成注解的POJO类","user":{"login":"vontio","id":2374879,"avatar_url":"https://avatars.githubusercontent.com/u/2374879?v=3","gravatar_id":"","url":"https://api.github.com/users/vontio","html_url":"https://github.com/vontio","followers_url":"https://api.github.com/users/vontio/followers","following_url":"https://api.github.com/users/vontio/following{/other_user}","gists_url":"https://api.github.com/users/vontio/gists{/gist_id}","starred_url":"https://api.github.com/users/vontio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vontio/subscriptions","organizations_url":"https://api.github.com/users/vontio/orgs","repos_url":"https://api.github.com/users/vontio/repos","events_url":"https://api.github.com/users/vontio/events{/privacy}","received_events_url":"https://api.github.com/users/vontio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-29T11:44:25Z","updated_at":"2015-06-30T09:55:01Z","closed_at":null,"body":" 一般通信协议前后端使用的proto文件,服务器能直接通过proto生成带注解的POJO吗"},"comment":{"url":"https://api.github.com/repos/jhunters/jprotobuf/issues/comments/117103696","html_url":"https://github.com/jhunters/jprotobuf/issues/27#issuecomment-117103696","issue_url":"https://api.github.com/repos/jhunters/jprotobuf/issues/27","id":117103696,"user":{"login":"vontio","id":2374879,"avatar_url":"https://avatars.githubusercontent.com/u/2374879?v=3","gravatar_id":"","url":"https://api.github.com/users/vontio","html_url":"https://github.com/vontio","followers_url":"https://api.github.com/users/vontio/followers","following_url":"https://api.github.com/users/vontio/following{/other_user}","gists_url":"https://api.github.com/users/vontio/gists{/gist_id}","starred_url":"https://api.github.com/users/vontio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vontio/subscriptions","organizations_url":"https://api.github.com/users/vontio/orgs","repos_url":"https://api.github.com/users/vontio/repos","events_url":"https://api.github.com/users/vontio/events{/privacy}","received_events_url":"https://api.github.com/users/vontio/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T09:55:01Z","updated_at":"2015-06-30T09:55:01Z","body":"服务器端自己使用存库的 可以用POJO->proto.\r\n通信部分是前后端已经协商定义的proto文件,需要从proto->POJO.\r\n\r\n找到这个库最原始的需求是因为原生的protobuf各种Builder转换太麻烦.\r\n而jprotobuf可以直接从POJO encode  这个就是原始的需求."}}