Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container With Pre-Encoded Strings #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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