How to deserialize an Object
without file input.
I have got this:
List<Serializable> objs = holder.value.getContent();
The list is filled with 10 serialized objects.
How to deserialize them? Since ObjectInputStream
expects an FileInputStream
parameter and not an serialized object.
I am sure there must be a way to deserialize and object without a FileInputStream
.
(The holder is a respons from a CodeUnit function from navision 2013)