📜  spring jackson mapper 忽略未知字段 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:28.479000             🧑  作者: Mango

代码示例1
new ObjectMapper()
  .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)