Answer the question
In order to leave comments, you need to log in
Are there quick ways to serialize/deserialize objects?
Greetings.
There is a "basic" way to serialize/deserialize objects - a JSON string. But it is far from being the fastest and with rather large objects it spends a lot of resources (primarily temporary).
Is there some method of fast "packing / unpacking" of objects into a binary version (for example), which would be both "more compact" and the algorithm itself is faster than working with JSON operands?
PS. I’ll clarify right away - the structure of objects is indefinite and the length of any fields / subfields / subfields, etc. absolutely unknown, i.e. it will not work to drive blocks into the buffer "bit by bit" in a consistent order.
Answer the question
In order to leave comments, you need to log in
The only option in the current realities is to find a faster "packing / unpacking" option + reduce the amount of data transferred ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question