We plan to expand the usage of the serializer to be used for network communication.
Currently we are using the less-than-ideal JSON approach, which adds a lot of overhead.
However, due to concerns about efficiency and internal pointers (e.g. std::string), the deserializer should not perform any unwarranted move.
DoD:
[ ] There is an utility that test if a type is moving during deserialization;
[ ] Tests are added so that SCPEnvelope is not moved;
We plan to expand the usage of the serializer to be used for network communication. Currently we are using the less-than-ideal JSON approach, which adds a lot of overhead. However, due to concerns about efficiency and internal pointers (e.g.
std::string
), the deserializer should not perform any unwarranted move.DoD: