JSON Config

JSON Config is an OSGi Configuration Admin extension supporting JSON files as configuration data

License

License

BSD
Categories

Categories

config Application Layer Libs Configuration JSON Data
GroupId

GroupId

de.matrixweb.json-config
ArtifactId

ArtifactId

json-config
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

bundle
Description

Description

JSON Config
JSON Config is an OSGi Configuration Admin extension supporting JSON files as configuration data
Project URL

Project URL

https://github.com/KnisterPeter/json-config
Source Code Management

Source Code Management

https://github.com/KnisterPeter/json-config

Download json-config

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.felix : org.apache.felix.fileinstall jar 3.2.8
com.fasterxml.jackson.core : jackson-databind jar 2.3.1

provided (2)

Group / Artifact Type Version
org.osgi : org.osgi.core jar 4.3.1
org.osgi : org.osgi.compendium jar 4.3.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.hamcrest : hamcrest-library jar 1.3
org.mockito : mockito-core jar 1.9.5

Project Modules

There are no modules declared in this project.

json-config is an OSGi service extending felix fileinstall with the option to create ConfigurationAdmin entries from json files.

This json will be converted...

{
  "some": "test",
  "array": [1, 2, 3],
  "array2": [
    {"a":"b"},
    {"c":"d"}
  ],
  "object": {
    "key1": "value1",
    "key2": "value2"
  }
}

... to this config entries:

some=test
array.0=1
array.1=2
array.2=3
array2.0.a=b
array2.1.c=d
object.key1=value1
object.key2=value2

Versions

Version
0.0.2
0.0.1