B-java-serialization-with-jackson-homework:用Jackson进行Java序列化的家庭作业-源码

上传者: 42134234 | 上传时间: 2021-06-18 02:13:18 | 文件大小: 67KB | 文件类型: ZIP
用Jackson作业进行Java序列化 用Jackson进行Java序列化的作业答案 问题1 通过使用Jackson注解或其他定制化手段 在于EventController中的两个接口,能够接收和返回如下格式的JSON: { " id " : " 1 " , " name " : "下载文件" , " type " : " D " , " time " : 1590050488701 , " userId " : " 3 " , " userName " : "张三" } 其中时间是千年为单位的初步 问题2 要求PersonController返回Person时: 当age主轴为null时,返回0 当hobby细分为null时,忽略该细分 即当age和hobby不为null时,正常返回: { " id " : " 1 " ,

文件下载

资源详情

[{"title":"( 17 个子文件 67KB ) B-java-serialization-with-jackson-homework:用Jackson进行Java序列化的家庭作业-源码","children":[{"title":"B-java-serialization-with-jackson-homework-master","children":[{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"thoughtworks","children":[{"title":"capability","children":[{"title":"gtb","children":[{"title":"SpringJacksonDemoApplicationTests.java <span style='color:#111;'> 237B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"thoughtworks","children":[{"title":"capability","children":[{"title":"gtb","children":[{"title":"SpringJacksonDemoApplication.java <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"EventController.java <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"PersonController.java <span style='color:#111;'> 487B </span>","children":null,"spread":false}],"spread":true},{"title":"vo","children":[{"title":"EventType.java <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"EventVo.java <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"UserVo.java <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"PersonVo.java <span style='color:#111;'> 296B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 695B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明