common-core


Лицензия

Лицензия

Группа

Группа

com.github.fangzhengjin
Идентификатор

Идентификатор

common-core
Последняя версия

Последняя версия

0.0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

common-core
common-core
Ссылка на сайт

Ссылка на сайт

https://github.com/fangzhengjin/common-core
Система контроля версий

Система контроля версий

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

Скачать common-core

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-reflect jar 1.3.70
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.70

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
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