org.apache.tinkerpop.gremlin.util

## Class Serializer

- java.lang.Object
- - org.apache.tinkerpop.gremlin.util.Serializer

-     public final class Serializer
      extends Object

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <V> V` | `cloneObject(V object)`
    `static Object` | `deserializeObject(byte[] objectBytes)`
    `static byte[]` | `serializeObject(Object object)`

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

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

- - ### Method Detail

    - #### serializeObject

          public static byte[] serializeObject(Object object)
                                        throws IOException

      Throws:
        `IOException`

    - #### deserializeObject

          public static Object deserializeObject(byte[] objectBytes)
                                          throws IOException,
                                                 ClassNotFoundException

      Throws:
        `IOException`
        `ClassNotFoundException`

    - #### cloneObject

          public static <V> V cloneObject(V object)
                                   throws IOException,
                                          ClassNotFoundException

      Throws:
        `IOException`
        `ClassNotFoundException`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.