Can we serialize objects that contain pointers to other objects?

Hello,

My question is: is there an easy way to serialize objects that contain pointers to other object?

and If you want to read more information of what i tried (with bad english):

my first try to save/load my game was to use blueprint only and the save game object offered by the engine, but when it come to save an uobject or actor reference it only save the pointer value… we cant load object with only a pointer value right? (or am doing something wrong?)

so i was looking for some tutorial and then i found serialization in c++, i tried it too, and i managed to make serialization/deserialzation to work i can then serialize all variables of my uobjects only by checking the checkbox “savegame” but it seem that it isnt working if my object has reference to other object with a pointer the other object is not restored or serialized properly (or again am doing something wrong?) but the process work fine with simple variable boolean, integer, float,…

then i discover a c++ library named “boost” and i read that it can serialize and deserialize class with pointer to other class, but i am noob in c++, noob in english, and it seem that i am not ready to use this library in my project because i am noob and i have no idea where to start in order to use this library properly

are people stuck on save/load about this case too or i am doing something wrong and it should work even in blueprint only?