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

JsonUtils 缺少配置,报错:UnrecognizedPropertyException #103

Open
Turbolisten opened this issue Jul 12, 2021 · 1 comment
Open

Comments

@Turbolisten
Copy link

Turbolisten commented Jul 12, 2021

当json数据,字段多于对象时候会报错 UnrecognizedPropertyException ,应该再配置一下

mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)

@Turbolisten Turbolisten changed the title JsonUtils 缺少配置 JsonUtils 缺少配置,报错:UnrecognizedPropertyException Jul 12, 2021
@diaozxin007
Copy link
Collaborator

可以提交一个 pr fix 这个问题

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

No branches or pull requests

2 participants