Refactor Json to JsonMapper, update Gradle to 9.5.1, and set Java 26 toolchain.
This commit is contained in:
+3
-5
@@ -1,14 +1,12 @@
|
||||
package dev.coph.nextusweb.server.json;
|
||||
|
||||
import tools.jackson.databind.ObjectMapper;
|
||||
import tools.jackson.databind.json.JsonMapper;
|
||||
|
||||
|
||||
|
||||
public final class Json {
|
||||
public static final ObjectMapper MAPPER = JsonMapper.builder()
|
||||
public final class JsonMapper {
|
||||
public static final ObjectMapper MAPPER = tools.jackson.databind.json.JsonMapper.builder()
|
||||
// .addModule(new JavaTimeModule())
|
||||
.build();
|
||||
|
||||
private Json() {}
|
||||
private JsonMapper() {}
|
||||
}
|
||||
Reference in New Issue
Block a user