-
Notifications
You must be signed in to change notification settings - Fork 192
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
Remove blank arrays and false boolean variables from serialised output #177
Comments
This issue is trickier than it looks at first (see #164 - a 12,000 line change). Another option might be to add a feature to the |
@philhofer Oh, yes, I see. It's pretty sophisticated;( Good luck with these changes! Hope to see them merged to master. I think an option to use additional tool to strip blank fields works for us. We do not care so much about serialise performance but de-serialisation performance (and space) is very important for us. So, we are happy to have additional method which cleans messages from redundant data. |
Do you have any progress in this direction? |
Since this issue was originally created, |
Hello!
First of all, I would like to say thank you for your brilliant library!
Right now I'm working on space optimisation of our data.
We have a pretty big number of false variables and blank arrays in output. I'm looking for ways to suppress them from generated message pack.
For example, we have the following structure:
And then we have the following structure:
And I would like to have in generated message pack only:
And skip blank arrays / false variables.
How could I achieve this goal?
Thank you!
The text was updated successfully, but these errors were encountered: