I am getting below error when object have value like Nan & Infinite
java.lang.IllegalArgumentException: Infinity is not a valid double value as per JSON specification. To override this behavior, use GsonBuilder.serializeSpecialFloatingPointValues() method.
I solved this using :-
GsonBuilder builder = new GsonBuilder(); builder.serializeSpecialFloatingPointValues();
But with Javers when using javers.getJsonConverter().toJson(diff)
Its throwing the same error . How solve this .
I am not able to set . serializeSpecialFloatingPointValues property with Javers.
i am using "org.javers.core.Javers-5.1.3" library