T - type of the Object to create during transformation.public class JsonTransformer<T> extends java.lang.Object implements Transformer<T>
base64, json| Constructor and Description |
|---|
JsonTransformer() |
| Modifier and Type | Method and Description |
|---|---|
T |
applyTransformation(java.lang.String value,
java.lang.Class<T> targetClass)
Apply a transformation on the input value (String)
|
public T applyTransformation(java.lang.String value, java.lang.Class<T> targetClass) throws TransformationException
TransformerapplyTransformation in interface Transformer<T>value - the parameter value to transformtargetClass - class of the target objectTransformationException - when a transformation error occursCopyright © 2023. All rights reserved.