When the include path of emails is used, the rendering outcome actually produces an empty JSON array, because the traversing logic does not consider its sub attributes as included.
Similar things would happen for excluded attributes.
A more intelligent traversing logic is required when using the visitor for JSON serialization.
When the include path of
emails
is used, the rendering outcome actually produces an empty JSON array, because the traversing logic does not consider its sub attributes as included.Similar things would happen for excluded attributes.
A more intelligent traversing logic is required when using the visitor for JSON serialization.