Open pathsny opened 10 years ago
My specific use case is a codebase where different sections of a mobile app can choose to log data to the server and I can choose to count the bytes logged by a section of the app as they are being added and implement rate control for example. But still make sure that when I actually log data, I serialize an entire container.
I have an implementation that currently stores a bunch of objects in a dictionary and eventually serializes the entire thing. For the purpose of some additional changes we're making in code, I'd like to store the JSONSerialized versions of some of these objects in the dictionary.
I'm unable to figure out how to encode this dictionary with pre-serialized strings without having them encoded twice. Is this something doable?