A tiny library to provide lower-level interop between Jackson and GSON
Find a file
2025-03-07 16:13:17 +02:00
.github/workflows Maven publish to nexus 2022-12-29 21:41:52 +02:00
.idea/copyright Initial commit 2022-12-29 21:26:46 +02:00
src Initial commit 2022-12-29 21:26:46 +02:00
.gitignore Initial commit 2022-12-29 21:26:46 +02:00
LICENSE.md Initial commit 2022-12-29 21:26:46 +02:00
pom.xml Maven central publishing 2025-03-07 16:12:41 +02:00
README.md Maven central publishing 2025-03-07 16:12:41 +02:00

Maven Build Package Version

Gson-Jackson-Interop

This library provides some sort of interoperability between Jackson to Gson. Mainly, right now it does two things:

  1. Allows reading source json via Jackson ObjectMapper as JsonElement via the GsonModule
  2. Allows converting between JsonNode and JsonElement and vice versa via the NodeConverter utility class

Including in your project

The project is available at maven central.

Gradle:

dependencies {
    implementation 'dev.voigon:gson-jackson-interop:1.0.0'
}

Maven:

<dependencies>
    <dependency>
        <groupId>dev.voigon</groupId>
        <artifactId>voigon:gson-jackson-interop</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>

TODO List

  • Reading source json via Jackson ObjectMapper as JsonElement
  • Converting between JsonNode and JsonElement and vice-versa
  • Delegating serializers and deserializers between Gson to Jackson