Ignore missing properties during Jackson JSON deserialization in Java

前端 未结 6 1481
时光说笑
时光说笑 2020-12-03 06:14

In the example

class Person {
   String name;
   int age;
}

If the JSON object has a missing property \'age\',

{
  name :          


        
6条回答
提交回复
热议问题