Package org.apache.storm.trident.state

# Interface Serializer<T>

All Superinterfaces:
  `Serializable`

All Known Implementing Classes:
  `JSONNonTransactionalSerializer`, `JSONOpaqueSerializer`, `JSONTransactionalSerializer`

public interface Serializer<T> extends Serializable

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `deserialize(byte[] b)`
  `byte[]`
  `serialize(T obj)`

- ## Method Details

  - ### serialize

    byte[] serialize(T obj)

  - ### deserialize

    T deserialize(byte[] b)