-
Notifications
You must be signed in to change notification settings - Fork 479
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
[QUESTION] BigDecimal和Decimal128转换问题 #427
Comments
Decimal128 |
已经内置支持,请用2.0.7-SNAPSHOT版本验证下 |
是的 |
好的 谢谢 我验证下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请描述您的问题
询问有关本项目的使用和其他方面的相关问题。
JSON字符串如下:
由于MongoDB不支持BigDecimal类型, 需转换成Decimal128存储。
spring 定义转换器
对象字段
所以支持mongodb类型和java类型互转。
现在用原对象接收,抛异常 Exception in thread "Thread-8" com.alibaba.fastjson2.JSONException: TODO : 6
__问:如何用BigDecimal 接收这样的类型字段,怎样将converter使用进去?_
The text was updated successfully, but these errors were encountered: