jackson
参考资料https://blog.csdn.net/qq_41834086/article/details/111152470
序列化与反序列化实例实体类
12345678910111213141516171819202122package com.example.demo;public class Person { public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } String username; int age;}
...