Class RawSerializer<T>

All Implemented Interfaces:
SchemaAware

public class RawSerializer<T> extends SerializerBase<T>
This is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.
Since:
1.7
  • Constructor Details

    • RawSerializer

      public RawSerializer(Class<?> cls)
      Constructor takes in expected type of values; but since caller typically can not really provide actual type parameter, we will just take wild card and coerce type.
  • Method Details