Uses of Class
org.eclipse.yasson.YassonConfig
Packages that use YassonConfig
-
Uses of YassonConfig in org.eclipse.yasson
Methods in org.eclipse.yasson that return YassonConfigModifier and TypeMethodDescriptionYassonConfig.withEagerParsing(Class<?>... classes) YassonConfig.withFailOnUnknownProperties(boolean failOnUnknownProperties) Property used to specify behaviour on deserialization when JSON document contains properties which doesn't exist in the target class.YassonConfig.withForceMapArraySerializerForNullKeys(boolean value) Property needed to make MapToEntriesArraySerializer the serializer used when a null key is found in the map.YassonConfig.withNullRootSerializer(jakarta.json.bind.serializer.JsonbSerializer<?> nullSerializer) Serializer to use when object provided toJsonb.toJson(Object)isnullor an empty Optional.YassonConfig.withTimeInMillisAsAString(boolean value) It is required to handle time millisecond format as a number.YassonConfig.withUserTypeMapping(Map<Class<?>, Class<?>> mapping) User type mapping for map interface to implementation classes.YassonConfig.withZeroTimeParseDefaulting(boolean defaultZeroHour) Makes parsing dates defaulting to zero hour, minute and second.