i have an API which serializes objects passed into the method by a custom application
public void SerializeObject(Object obj)
Customer c = new Customer();
//my api class
this works fine without a problem.
however i need to de-serialize the same file.
since the API has no understanding of the Customer class how do i cast it correctly
i cannot accept it as an Object type bcos the methods dont get invoked for obvious reasons.
how do i sort this problem.