Class KryoConversion
-
- All Implemented Interfaces:
-
org.springframework.core.convert.ConversionService
public class KryoConversion implements ConversionServiceData accuracy is higher than Json, but the data structure may not, such as TreeMap or HashMap.
- Since:
2022-03-09
trydofor
-
-
Constructor Summary
Constructors Constructor Description KryoConversion()
-
Method Summary
Modifier and Type Method Description booleancanConvert(Class<out Object> sourceType, @NotNull() Class<out Object> targetType)booleancanConvert(TypeDescriptor sourceType, @NotNull() TypeDescriptor targetType)<T> Tconvert(Object source, @NotNull() Class<T> targetType)Objectconvert(Object source, TypeDescriptor sourceType, @NotNull() TypeDescriptor targetType)-
-
Method Detail
-
canConvert
boolean canConvert(Class<out Object> sourceType, @NotNull() Class<out Object> targetType)
-
canConvert
boolean canConvert(TypeDescriptor sourceType, @NotNull() TypeDescriptor targetType)
-
-
-
-