Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json序列化添加对Protobuf Message对象的支持 #45

Closed
linux-china opened this issue Apr 3, 2020 · 2 comments
Closed

Json序列化添加对Protobuf Message对象的支持 #45

linux-china opened this issue Apr 3, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@linux-china
Copy link
Collaborator

如果Protobuf Message对象,通过Jackson进行json解析或者序列化,会出现错误。 需要为Jackson添加protobuf的datatype支持。 解决的方法是将jackson-datatype-protobuf添加到依赖中即可。

HubSpot/jackson-datatype-protobuf#66

@linux-china linux-china added the enhancement New feature or request label Apr 12, 2020
@linux-china
Copy link
Collaborator Author

已经修复,等待正式发布。

@linux-china
Copy link
Collaborator Author

linux-china commented Jun 27, 2020

<dependency>
  <groupId>com.hubspot.jackson</groupId>
  <artifactId>jackson-datatype-protobuf</artifactId>
  <version>0.9.12</version>
</dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant