-
Notifications
You must be signed in to change notification settings - Fork 14
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
Ignore Field Names In Serialization #4
Comments
Hi @sadradelir, if you want to ignore some field during serialization you could: |
Hi @deniszykov and thanks for your fast replay, But I mean field names not entire ignore of field, for example i pack this class : |
Do you mean storing only objects field values? At the moment there is no such feature. You can implement your own serializer of such objects and register it in SerializationContext.ObjectSerializerFactory.
|
yes I mean this, so I should develop my serilizerFactory, thanks for your fast answer. and I appreciate your help :) . |
Can we ignore field names in serialization ? I use SerializationOptions.SuppressTypeInformation but i have my class members names in serialization.
The text was updated successfully, but these errors were encountered: