Propper way to save

Hi! I’m developing a game that includes various elements, similar to a real-time strategy (RTS) game. I need to save information such as the positions and statuses of characters, buildings, research progress, and a variety of other details.
I’ve watched several guides and explored many topics, but most of them are too old, so I suppose maybe something has changed over the last few years. I hope >w<

If I understood correctly, to save an object, I need to save each parameter separately. For example, if I have an actor, I can’t simply save the actor itself; I need to save variables for its position and other relevant details. It can be really a lot of important things. Additionally, how should I handle saving animation progress in this situation? It looks like I should add almost all the variables to the save and do that manually.

Is there an easier way? I’m sure I’m wrong, and it shouldn’t work like this. I would really appreciate any tips on this.