Class DummyConverter
java.lang.Object
org.assertstruct.impl.converter.dummy.DummyConverter
- All Implemented Interfaces:
JsonConverter
Dummy implementation of
JsonConverter.
Returns the value as is.
Will be used if no other converter is not available-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DummyConverter
public DummyConverter()
-
-
Method Details
-
pojo2json
Description copied from interface:JsonConverterConvert POJO to JSON compatible structure- Specified by:
pojo2jsonin interfaceJsonConverter- Parameters:
value- POJO- Returns:
- JSON compatible structure
-
convert
Description copied from interface:JsonConverterConvert value to targetClass- Specified by:
convertin interfaceJsonConverter- Parameters:
value- sourcetoValueType- target class- Returns:
- converted value
-