JSON formatter GSON

Parent for JUL JSON formatter modules

License

License

Categories

Categories

JSON Data Gson ORM
GroupId

GroupId

com.github.svendiedrichsen
ArtifactId

ArtifactId

json-formatter-gson
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

JSON formatter GSON
Parent for JUL JSON formatter modules

Download json-formatter-gson

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.2

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.8.8

Project Modules

There are no modules declared in this project.

Log formatter

This project contains java.util.logging.Formatter implementations usable with JUL logging. Each library provides besides a normal JAR an Uber-Jar containing all required dependencies.

To use one of them you can set the formatter at the specific JUL Handler implementation.

Each formatter adds a timestamp property to each log entry derived from the LogRecords millis property. It uses the RFC-3339 format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

JSON formatter using GSON

Formatter using GSON to create JSON.

JSON formatter using Jackson2

Formatter using Jackson2 to create JSON.

Versions

Version
1.0.2
1.0.1
1.0.0