com.alibaba
fastjson
1.2.58
使用FastJson进行操作
public class TestJson implements Serializable{
private String id;
private String age;
}
public class Main{
public static void main(String[] args){
TestJson tj = new TestJson();
String s = JSON.toJSONString(tj);
System.out.println("toJsonString方法: " + s);
}
}
https://blog.csdn.net/xuforeverlove/article/details/80842148?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4
https://blog.csdn.net/jin2111843364/article/details/81016650
http://www.java2s.com/Code/Jar/j/Downloadjsonlib222jdk15jar.htm