wangcaitao-starter-fastjson


License

License

Categories

Categories

JSON Data fastjson
GroupId

GroupId

com.wangcaitao
ArtifactId

ArtifactId

wangcaitao-starter-fastjson
Last Version

Last Version

4.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

wangcaitao-starter-fastjson
wangcaitao-starter-fastjson
Project URL

Project URL

https://github.com/wangcaitao/wangcaitao-starter-fastjson
Source Code Management

Source Code Management

https://github.com/wangcaitao/wangcaitao-starter-fastjson

Download wangcaitao-starter-fastjson

How to add to project

<!-- https://jarcasting.com/artifacts/com.wangcaitao/wangcaitao-starter-fastjson/ -->
<dependency>
    <groupId>com.wangcaitao</groupId>
    <artifactId>wangcaitao-starter-fastjson</artifactId>
    <version>4.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.wangcaitao/wangcaitao-starter-fastjson/
implementation 'com.wangcaitao:wangcaitao-starter-fastjson:4.0.0'
// https://jarcasting.com/artifacts/com.wangcaitao/wangcaitao-starter-fastjson/
implementation ("com.wangcaitao:wangcaitao-starter-fastjson:4.0.0")
'com.wangcaitao:wangcaitao-starter-fastjson:jar:4.0.0'
<dependency org="com.wangcaitao" name="wangcaitao-starter-fastjson" rev="4.0.0">
  <artifact name="wangcaitao-starter-fastjson" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wangcaitao', module='wangcaitao-starter-fastjson', version='4.0.0')
)
libraryDependencies += "com.wangcaitao" % "wangcaitao-starter-fastjson" % "4.0.0"
[com.wangcaitao/wangcaitao-starter-fastjson "4.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.springframework.boot : spring-boot-autoconfigure jar 2.0.6.RELEASE
org.springframework.boot : spring-boot-configuration-processor jar 2.0.6.RELEASE
com.alibaba : fastjson jar
org.springframework : spring-webmvc jar

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.22

Project Modules

There are no modules declared in this project.

wangcaitao-starter-fastjson

fastjson 代替 spring-boot 默认的 jackson 解析 json

使用

  1. 引入依赖

    <dependency>
        <groupId>com.wangcaitao</groupId>
        <artifactId>wangcaitao-starter-fastjson</artifactId>
        <versiion>4.0.0</version>
    </dependency>
  2. 配置

    fastjson:
      serializer-features:
        - prettyformat
        - writedateusedateformat

Versions

Version
4.0.0