Package com.c8db.internal.util
Class C8DeserializerImpl
- java.lang.Object
-
- com.c8db.internal.util.C8DeserializerImpl
-
- All Implemented Interfaces:
C8Deserializer
public class C8DeserializerImpl extends Object implements C8Deserializer
-
-
Constructor Summary
Constructors Constructor Description C8DeserializerImpl(com.arangodb.velocypack.VPack vpacker, com.arangodb.velocypack.VPackParser vpackParser)
-
Method Summary
All Methods Instance Methods Concrete 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
public <T> T deserialize(com.arangodb.velocypack.VPackSlice vpack, Type type) throws C8DBExceptionDescription copied from interface:C8DeserializerDeserialize a given VelocyPack to an instance of a given type- Specified by:
deserializein interfaceC8Deserializer- Parameters:
vpack- The VelocyPack to deserializetype- The target type to deserialize to. Use String for raw JSON.- Returns:
- The deserialized VelocyPack
- Throws:
C8DBException
-
-