common-core


License

License

GroupId

GroupId

com.github.fangzhengjin
ArtifactId

ArtifactId

common-core
Last Version

Last Version

0.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

common-core
common-core
Project URL

Project URL

https://github.com/fangzhengjin/common-core
Source Code Management

Source Code Management

https://github.com/fangzhengjin/common-core

Download common-core

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-reflect jar 1.3.70
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.70

Project Modules

There are no modules declared in this project.

common-core

Build Status Maven Central Bintray License SpringBootVersion

dependencies {
    implementation "com.github.fangzhengjin:common-core:version"
}

新增了几个JacksonJson控制序列化的注解


四个注解可加载spring controller的方法上 控制返回的json

序列化时忽略列出的字段
@JsonSerializeExclude
@JsonSerializeExcludes

只序列化列出的字段
@JsonSerializeInclude
@JsonSerializeIncludes

不适用注解的地方可以使用工具
JacksonSerializeUtils

Versions

Version
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1