Chameleon

A light-weight library to manage the configurations

Лицензия

Лицензия

Категории

Категории

Сеть JSON Данные
Группа

Группа

net.meku.chameleon
Идентификатор

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

chameleon-persist-json
Последняя версия

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

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Chameleon
A light-weight library to manage the configurations
Ссылка на сайт

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

https://github.com/shoopman/chameleon
Система контроля версий

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

https://github.com/shoopman/chameleon

Скачать chameleon-persist-json

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

<!-- https://jarcasting.com/artifacts/net.meku.chameleon/chameleon-persist-json/ -->
<dependency>
    <groupId>net.meku.chameleon</groupId>
    <artifactId>chameleon-persist-json</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/net.meku.chameleon/chameleon-persist-json/
implementation 'net.meku.chameleon:chameleon-persist-json:1.0.3'
// https://jarcasting.com/artifacts/net.meku.chameleon/chameleon-persist-json/
implementation ("net.meku.chameleon:chameleon-persist-json:1.0.3")
'net.meku.chameleon:chameleon-persist-json:jar:1.0.3'
<dependency org="net.meku.chameleon" name="chameleon-persist-json" rev="1.0.3">
  <artifact name="chameleon-persist-json" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.meku.chameleon', module='chameleon-persist-json', version='1.0.3')
)
libraryDependencies += "net.meku.chameleon" % "chameleon-persist-json" % "1.0.3"
[net.meku.chameleon/chameleon-persist-json "1.0.3"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
net.meku.chameleon : chameleon-core jar 1.0.3
org.springframework.boot : spring-boot-starter-json jar 2.1.7.RELEASE

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

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

Introduction

Chameleon is a light-weight library to manage the configurations of an application. It can support for distributed systems by redis module.

Usage

Introduce to your project

Gradle build.gradle

    compile("net.meku.chameleon:chameleon-starter:1.0.2")

Maven pom.xml

	<dependency>
		<groupId>net.meku.chameleon</groupId>
		<artifactId>chameleon-starter</artifactId>
		<version>1.0.2</version>
	</dependency>
        

Import ConfigService and have fun.

    @Autowired
    private ConfigService configService;

    // Add or update a configuration
    configService.save(configable);

    // Get the value of a configuration
    String s1 = configService.getString(key1);
    int i1 = configService.getInt(key2);

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

Версия
1.0.3
1.0.2
1.0.1
1.0.0