-
Notifications
You must be signed in to change notification settings - Fork 205
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
Json serialization include one child property #566
Comments
Did you try?
|
I want to include all from root and id from parents
Preserves excludeAll the root properties? |
I'm sorry, this method is not released yet. And the docs needs improvements to explain better how to use. I'll do this soon. In your case, what's the expected json? |
|
I'll do tests to see if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanna include only the primary key from all classes.
The include method in json representation not accept include a child property directly.
e.g
if I include the root property, all properties will be serializeds, unnecessarily
I think that should be cool have this feature, generating more light jsons without excluding individuals properties.
What do you think? Is it viable?
The text was updated successfully, but these errors were encountered: