Jackson和fastjson区别
model
1 | import com.alibaba.fastjson.annotation.JSONField; |
controller
1 |
|
结果
1 | // http://localhost:8080/jackson |
1 | // http://localhost:8080/fastjson |
1 | import com.alibaba.fastjson.annotation.JSONField; |
1 | @RestController |
1 | // http://localhost:8080/jackson |
1 | // http://localhost:8080/fastjson |