Serializing Abstract Classes

Discussion and help for Easy Save 3
Post Reply
Exonto
Posts: 5
Joined: Mon Aug 12, 2019 3:05 am

Serializing Abstract Classes

Post by Exonto »

Hello,

I am a little confused about the "Non-abstract classes with a parameterless constructor" requirement, specifically the non-abstract portion.

I have successfully been able to serialize an object which has an abstract base class so I'm not sure if I'm missing something?
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Serializing Abstract Classes

Post by Joel »

Hi there,

In your case the class you are saving is a concrete class. The class it inherits from is the abstract class. This is why you are able to save your data :)

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Exonto
Posts: 5
Joined: Mon Aug 12, 2019 3:05 am

Re: Serializing Abstract Classes

Post by Exonto »

Thanks! Just wanted to make sure.
Post Reply