-
Notifications
You must be signed in to change notification settings - Fork 173
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
Provide some examples #4
Comments
Sorry, I have written a sample of simple custom serializer, and posted it to the wiki page. Is it help you? |
Thank you very much, it clears a bit. I'd like to see some example about
How to write external manual(custom) serializers for A and B? Where should be Also best practice for polymorphic serialization will be very helpful. For something like that.
In that case I need to serialize L instances, also I want common part for A field serialization. As above, here everything is manual(custom) serialized. I'm very glad that you are still watching this project. |
About that remark:
Can I store It is also unclear what is the purpose of subtree mode and |
As you know, built-in mechanism does not support polymorphic objects, so
Yes, you can. It is actually built-in (emitted) serializers behavior. |
ありがとうございます |
I'm trying to use this and have no clue what is the good practice. Especially I'm wondering about
PackToCore
andUnpackFromCore
pair. Should I useRead*
functions insideUnpackFromCore
? It is too painful to mine knowledge from unittests.The text was updated successfully, but these errors were encountered: