mirror of
https://github.com/liorsl/gson-jackson-interop.git
synced 2026-06-20 16:57:30 +00:00
A tiny library to provide lower-level interop between Jackson and GSON
- Java 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| .idea/copyright | ||
| src | ||
| .gitignore | ||
| LICENSE.md | ||
| pom.xml | ||
| README.md | ||
Gson-Jackson-Interop
This library provides some sort of interoperability between Jackson to Gson. Mainly, right now it does two things:
- Allows reading source json via Jackson ObjectMapper as JsonElement via the GsonModule
- 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