Add a section about Serialization/Deserialization
It would be helpful to have a section about Serialization/Deserialization. I am suggesting this because I wanted to check what is serialized by default and thought I might find it quickly here.
That's all. Thank you for your amazing book and the work you put into it 😄.
Sure, but unfortunately the built-in serialization mechanism is extremely complicated. Properly contextualizing what it is, when it is appropriate to use (very rarely), and the mechanisms behind it will take a lot of background work. Certainly also going through serialization in a more general context first as well.
So its on the list, but kinda far down it.
@Alecsandu Slept on this for a bit - what I said above still applies, but if would you mind elaborating more on your exposure to serialization?
In what context were you shown it, how do you think about it, how was it presented, etc. I just want to make sure my mental model(s) is more or less correct there.
Hi @bowbahdoe, I wanted to refresh my knowledge of serialization for a toy project, so regarding the context, I mostly looked on baeldung to see details I might have forgot or missed. For how I think about it I see it as a good way to either store or send data, and there was no direct presentation just me reading. Hope my answer will help you in the future.
Sure, but unfortunately the built-in serialization mechanism is extremely complicated. Properly contextualizing what it is, when it is appropriate to use (very rarely), and the mechanisms behind it will take a lot of background work. Certainly also going through serialization in a more general context first as well.
So its on the list, but kinda far down it.
Builtin serialization has special behavior with records which makes it easy, meaning it could be taught easily with using only records.