I have a struct ABC that I want to serialize before sending over tcp socket. This ABC struct is nested and contains 10 more structs and each of these 10 structs contain 20 more structs. So, it's almost impossible for me to serialize it manually.
What is the best and simplest way to serialize these kind of structs in C++?