wangcaitao-starter-fastjson


License

License

Categories

Categories

JSON Data fastjson
GroupId

GroupId

cn.wangcaitao
ArtifactId

ArtifactId

wangcaitao-starter-fastjson
Last Version

Last Version

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

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
3.1.1
3.1.0
3.0.0