I read here and there about storing data, and I need to store just 4 data in an external file. I think that the best way is to save all properties of an object.
Is there any way to save an object?
An object has custom properties, if I could save an object, I could load it and all my data would be perfectly parsed for retrieving data.
Lets see the following example:
Code: Select all
set the owner of field "car" to "Max"
set the model of field "car" to "Ferrari"
set the age of field "car" to 2