Package com.c8db.util

Interface C8Deserializer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T deserialize​(com.arangodb.velocypack.VPackSlice vpack, Type type)
      Deserialize a given VelocyPack to an instance of a given type
    • Method Detail

      • deserialize

        <T> T deserialize​(com.arangodb.velocypack.VPackSlice vpack,
                          Type type)
                   throws C8DBException
        Deserialize a given VelocyPack to an instance of a given type
        Parameters:
        vpack - The VelocyPack to deserialize
        type - The target type to deserialize to. Use String for raw JSON.
        Returns:
        The deserialized VelocyPack
        Throws:
        C8DBException