Is here any elegant way to combine serialization and deserialization code? #2028
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
I know everything can be much easier with reflection, but sadly C++ doesn't have it
When I'm writing code I noticed I'm repeating myself, serialization and deserialization looks very similar
How can I serealize and deserialize things in elegant way? For example lets say we want to serialize this:
and then deserialize it back. As I said earlier, if it's possible I wanna combine serialization and deserialization code
thanks for your help in advance!
The text was updated successfully, but these errors were encountered: