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

http转dubbo-序列化为JSON行为可自定义配置 #706

Open
davidzj opened this issue Dec 18, 2023 · 1 comment
Open

http转dubbo-序列化为JSON行为可自定义配置 #706

davidzj opened this issue Dec 18, 2023 · 1 comment
Labels
help wanted Extra attention is needed level/challenge sig/microservice type/enhancement New feature or request

Comments

@davidzj
Copy link

davidzj commented Dec 18, 2023

Ⅰ. Issue Description

建议提供全局控制序列化为JSON行为的配置,以控制某些语言某些特殊对象的序列化行为

Ⅱ. Describe what happened

比如java.time.LocalDateTime对象被序列化了如下图这样,基本没办法使用
image

Ⅲ. Describe what you expected to happen

类似于SpringMVC,java.time.LocalDateTime序列化为JSON的结果如下图:
image
当然,这只是我发现的其中一种类型对象,其他类型的对象肯定也有类似问题

Ⅵ. Environment:

  • Higress version: 1.3.1
@johnlanni
Copy link
Collaborator

cc @sjtuzbk

@johnlanni johnlanni added sig/microservice type/enhancement New feature or request help wanted Extra attention is needed level/challenge labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed level/challenge sig/microservice type/enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants