-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
不支持javaBean为Builder模式的链式编程 #2346
Milestone
Comments
你需要为你的类加上@NoArgsConstructor,但是这个注解跟@builder 冲突,所以你还要再加上@AllArgsConstructor |
This was referenced Aug 27, 2019
wenshao
added a commit
that referenced
this issue
Sep 4, 2019
Fix issue #2346(不支持javaBean为Builder模式的链式编程)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当json串反序列化成JavaBean时,该javaBean是Builder模式的链式编程结果,反序列化失败,未找到默认构造函数
javaBean如下:
序列化代码如下:
错误如下:
版本:1.2.55
The text was updated successfully, but these errors were encountered: