Complete example tutorial of spring MVC + fastjason + swagger integration
Basic part
1. Introduction to fastjason
Fastjson is a Java library that can be used to convert Java objects into JSON representations. It can also be used to convert a JSON string into an equivalent Java object. The conversion speed should be the fastest, which has almost become the standard configuration of the project (fastjson is generally used instead of Jackson in Ajax request and interface development).
GitHub: https://github.com/alibaba/fastjson (local download)
Download from GitHub https://github.com/swagger-api/swagger-ui Note that you should choose to download v2 2.10( https://github.com/swagger-api/swagger-ui/tree/v2.2.10 (local download)), the integration mode is different for versions larger than this version.
Full sample demo download address: http://xiazai.jb51.net/201804/yuanma/platform-springmvc-webapp (jb51.net). rar