Package org.apache.storm.trident.state

## Class JSONOpaqueSerializer

- java.lang.Object
- - org.apache.storm.trident.state.JSONOpaqueSerializer

- All Implemented Interfaces:
    `Serializable`, `Serializer<OpaqueValue>`

      public class JSONOpaqueSerializer
      extends Object
      implements Serializer<OpaqueValue>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JSONOpaqueSerializer()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `OpaqueValue` | `deserialize​(byte[] b)` |
    `byte[]` | `serialize​(OpaqueValue obj)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JSONOpaqueSerializer

          public JSONOpaqueSerializer()

  - ### Method Detail

    - #### serialize

          public byte[] serialize​(OpaqueValue obj)

      Specified by:
        `serialize` in interface `Serializer<OpaqueValue>`

    - #### deserialize

          public OpaqueValue deserialize​(byte[] b)

      Specified by:
        `deserialize` in interface `Serializer<OpaqueValue>`