Great. I thought i would provide you with some resources to aid your understanding one good article made by @EgoMoose which shows how serialization helps in datastoring things. Its not particularly for your use case however it does cover serialization for storing datatypes here Creating A Furniture Placement System
@starmaq has a article on the use of serialization here.