@Deprecated
	public VPackSlice serialize(final Object entity, final Type type) throws VPackParserException {
		return serialize(entity, new SerializeOptions().type(type));
	}
@ Deprecated public VPackSlice serialize ( final Object entity , final Type type ) throws VPackParserException { return serialize ( entity , new SerializeOptions ( ) . type ( type ) ) ; }
Serialize a given Object to VelocyPack

@deprecated use {@link #serialize(Object, SerializeOptions)} instead
@param entity
The Object to serialize.
@param type
The source type of the Object.
@return the serialized VelocyPack
@throws VPackParserException