Fastjson实现JSON与JavaBean之间互相转换 一般使用lombok添加 类:@AllArgsConstructor @ToString 属性:@Getter @Setter 测试: TestJavaBean2Json: TestJson2JavaBean: