Package org.kordamp.json.processors
Interface DefaultValueProcessor
- All Known Implementing Classes:
DefaultDefaultValueProcessor
public interface DefaultValueProcessor
Defines the default value for a type when its value is null.
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultValue
(Class type) Returns an appropriate default value for a type.
-
Method Details
-
getDefaultValue
Returns an appropriate default value for a type.- Parameters:
type
-- Returns:
- the default value for instances of type
-