Skip to content

Commit f60d66b

Browse files
committed
feat: always deserialize to long for jsonutils
1 parent e195892 commit f60d66b

File tree

1 file changed

+1
-0
lines changed
  • rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/utils/json

1 file changed

+1
-0
lines changed

rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/utils/json/JsonUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public static ObjectMapper createObjectMapper(final ModuleOptions options) {
6363
.serializationInclusion(JsonInclude.Include.NON_NULL) //ignore null fields
6464
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
6565
.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false)
66+
.configure(DeserializationFeature.USE_LONG_FOR_INTS, true)
6667
.configure(MapperFeature.REQUIRE_TYPE_ID_FOR_SUBTYPES, false)
6768
.build();
6869
}

0 commit comments

Comments
 (0)