Skip to content

Conversation

@pathsny
Copy link

@pathsny pathsny commented Jun 13, 2014

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?

@pathsny
Copy link
Author

pathsny commented Jun 13, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant