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

[FEATURE] 希望在FastJsonHttpMessageConverter中加入byte[]数组默认转为json字符串,或者在JSONWriter.Feature中增加 #1309

Closed
TsukasaHwan opened this issue Apr 2, 2023 · 4 comments
Labels
bug Something isn't working enhancement New feature or request fixed
Milestone

Comments

@TsukasaHwan
Copy link

由于有的框架返回json时使用的jackson进行返回的,jackson默认是将byte[]数组转换为json,然后我这边无法修改源码,使用fastjson进行返回的时候,返回的是一个byte[],导致前端那边显示错误

@TsukasaHwan TsukasaHwan added the enhancement New feature or request label Apr 2, 2023
@TsukasaHwan
Copy link
Author

#1256 (comment)
提到的问题就是这个

@wenshao
Copy link
Member

wenshao commented Apr 2, 2023

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.27-SNAPSHOT/
问题已修复,请帮忙用2.0.27-SNAPSHOT版本验证

@wenshao wenshao added this to the 2.0.27 milestone Apr 2, 2023
@wenshao wenshao added fixed bug Something isn't working labels Apr 2, 2023
@TsukasaHwan
Copy link
Author

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.27-SNAPSHOT/ 问题已修复,请帮忙用2.0.27-SNAPSHOT版本验证

已验证,没问题了

@wenshao
Copy link
Member

wenshao commented Apr 8, 2023

https://github.com/alibaba/fastjson2/releases/tag/2.0.27
问题已修复,请用新版本

@wenshao wenshao closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

2 participants