Package com.c8db.util
Interface C8Deserializer
-
- All Known Subinterfaces:
C8Serialization
- All Known Implementing Classes:
C8DeserializerImpl,DefaultC8Serialization,VelocyJack
public interface C8Deserializer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tdeserialize(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 C8DBExceptionDeserialize a given VelocyPack to an instance of a given type- Parameters:
vpack- The VelocyPack to deserializetype- The target type to deserialize to. Use String for raw JSON.- Returns:
- The deserialized VelocyPack
- Throws:
C8DBException
-
-