- Type Parameters:
T -
- All Implemented Interfaces:
- ITransformer<T,U>, ITransformerBase<T,U>
- Direct Known Subclasses:
- JsonToByteArrayTransformer
public abstract class BasicJsonTransformer<T,U>
extends Object
implements ITransformer<T,U>
This class implements the ITransformer interface and provides an implementation of the toClass()
method for deserializing and serializing JSON strings. The constructor takes the class to
transform to/from JSON. The Record parameter of the toClass() method is expected to contain a
byte representation of a JSON string.