准备工作:添加依赖你需要在你的项目中添加相应库的依赖,Jackson(推荐)Jackson是目前Java生态中最流行、性能最好的JSON处理库,Maven(pom.xml):<dependency><gro...