Deserialize Class containing an array of another class?

ZenMusic

Member
Joined
Jun 30, 2021
Messages
9
Programming Experience
10+
Is there a way to deserialize a Class that contains an array of another class.

Examples

Recipe with Ingredients
Client with Addresses

my specific need is:
Flight Plan with Waypoints

I'm just asking before I dive into parsing it out and filling the classes in my code.
thanks
 
It should work without issue. Start by defining your classes and try serialising instances. Once the serialisation works as expected, deserialisation will work too. I'd probably suggest simple classes for initial testing, e.g. one string property each.
 
Back
Top Bottom