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

partial serialization #36

Merged
merged 2 commits into from
Mar 14, 2023
Merged

partial serialization #36

merged 2 commits into from
Mar 14, 2023

Conversation

seagetch
Copy link
Contributor

Sometimes exporting object update via json object can be useful.
So far it always serialize all of children at once, so only if update for target object is required, always serialize all of children.
This patch introduces two functions:

  1. Node.serializePartial: serialize only target object without children.
  2. Node.serializeSelfImpl: called from serializeSelf and serializePartial, and serialize self based on specified recursive parameter.

@LunaTheFoxgirl LunaTheFoxgirl merged commit 9280365 into Inochi2D:main Mar 14, 2023
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.

None yet

2 participants