Let's say you have data in the format:
name=john;age=33;gender=male
What would you call a method that converts data like this into an object / associative array?
I was thinking about: - unserialize_variables - parse_variables
DeserialisePerson
Person.Unserialize?
PersonReader. Works if you change how you save person data in the future too.
In two steps:
ContainerType person = data.parse(); Employee employee( person["name"], person["age"], person["gender"] );