jackson set properties to default value (取消让jackson 赋予默认值)

you can define it with Integer rather than int or long. define it with a package type. jackson wont' parse it to default value

原文地址:https://www.cnblogs.com/IamThat/p/4998078.html