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

整合/管理 Gson 的 JsonSerializer/JsonDeserializer 用途 #626

Closed
garyparrot opened this issue Aug 24, 2022 · 1 comment
Closed

整合/管理 Gson 的 JsonSerializer/JsonDeserializer 用途 #626

garyparrot opened this issue Aug 24, 2022 · 1 comment
Labels
web Web APIs

Comments

@garyparrot
Copy link
Collaborator

Context: #611 (comment)

WebService 工具透過 HTTP 界面來提供管理 Kafka 叢集的功能,WebService 使用 JSON 當做和 HTTP Client 傳輸資料的格式。專案內現在透過 GSON library 來做 Class instance 對 JSON 字串的序列化和反序列化,針對比較複雜的 Class 或有特別規則的序列化格式,我們需要自己實作 JsonSerializerJsonDeserializer 和對應的規則邏輯。

目前沒有針對這類特製的序列化邏輯做統一格式的整理,我們應該管理/整合邏輯。

@chia7712 chia7712 added the web Web APIs label Aug 24, 2022
@g1geordie
Copy link
Contributor

ref #974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web Web APIs
Projects
None yet
Development

No branches or pull requests

3 participants