Converting interface with the
addition that the current converter (which may include custom rules) can be
set on it. This allows the converter to be re-entrant and use itself for
sub-conversions if applicable.
| Modifier and Type | Method and Description |
|---|---|
| public < The type to convert to. T> T | Returns: The converted object.A Type object to represent the target type to be converted
to. type, InternalConverter Internal converter converter)Invoke the conversion while passing the top-level converter. |
| to | back to summary |
|---|---|
| public <T> T to(Type type, InternalConverter converter) Invoke the conversion while passing the top-level converter. The top-level converter is needed when performing embedded conversions such as in map elements. When using a custom converter, the top converter must be used for this.
| |