- https://blog.csdn.net/insis_mo/article/details/92760527
- FastJson的使用方法:
- 在bean中的定义属性上面使用注解@JSONField ,然后JSON.toJSONString()返回即可
- 使用SimplePropertyPreFilter指定序列化字段:SimplePropertyPreFilter filter = new SimplePropertyPreFilter(Bean.class, "FieldName"); 然后JSON.toJSONString()返回即可
- JackSon的使用方法: